From f7bdfab32a165742c29cf687af0c28531f871706 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Sat, 3 Aug 2013 11:27:50 +0200 Subject: gateway_headers views added --- app/views/gateway_headers/_form_core.html.haml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/views/gateway_headers/_form_core.html.haml (limited to 'app/views/gateway_headers/_form_core.html.haml') 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') -- cgit v1.2.3