diff options
author | Peter Kozak <spag@golwen.net> | 2013-08-03 11:27:50 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-08-03 11:27:50 +0200 |
commit | f7bdfab32a165742c29cf687af0c28531f871706 (patch) | |
tree | 2c91ebff27a8c98dbf25ce3e248a12df2b6685f0 /app/views/gateway_headers/_form_core.html.haml | |
parent | 4c1061fb7cdbaf1bf5614a5f255316cbc426d52d (diff) |
gateway_headers views added
Diffstat (limited to 'app/views/gateway_headers/_form_core.html.haml')
-rw-r--r-- | app/views/gateway_headers/_form_core.html.haml | 8 |
1 files changed, 8 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..2fcb70b --- /dev/null +++ b/app/views/gateway_headers/_form_core.html.haml @@ -0,0 +1,8 @@ +.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_source, :label => t('gateway_headers.form.constraint_source.label'), :hint => conditional_hint('gateway_headers.form.constraint_source.hint') + = 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') |