diff options
Diffstat (limited to 'app/views/gateway_headers/_form_core.html.haml')
-rw-r--r-- | app/views/gateway_headers/_form_core.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/gateway_headers/_form_core.html.haml b/app/views/gateway_headers/_form_core.html.haml new file mode 100644 index 0000000..9a917d4 --- /dev/null +++ b/app/views/gateway_headers/_form_core.html.haml @@ -0,0 +1,7 @@ +.inputs + = f.input :header_type, :collection => GatewayHeader::HEADER_TYPES, :label => t('gateway_headers.form.header_type.label'), :hint => conditional_hint('gateway_headers.form.header_type.hint'), :include_blank => false + = f.input :constraint_value, :label => t('gateway_headers.form.constraint_value.label'), :hint => conditional_hint('gateway_headers.form.constraint_value.hint') + = f.input :name, :label => t('gateway_headers.form.name.label'), :hint => conditional_hint('gateway_headers.form.name.hint'), :autofocus => true + = f.input :value, :label => t('gateway_headers.form.value.label'), :hint => conditional_hint('gateway_headers.form.value.hint') + + = f.input :description, :label => t('gateway_headers.form.description.label'), :hint => conditional_hint('gateway_headers.form.description.hint') |