summaryrefslogtreecommitdiff
path: root/app/views/gateway_parameters/_form_core.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/gateway_parameters/_form_core.html.haml')
-rw-r--r--app/views/gateway_parameters/_form_core.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/gateway_parameters/_form_core.html.haml b/app/views/gateway_parameters/_form_core.html.haml
new file mode 100644
index 0000000..206645d
--- /dev/null
+++ b/app/views/gateway_parameters/_form_core.html.haml
@@ -0,0 +1,5 @@
+.inputs
+ = f.input :name, :label => t('gateway_parameters.form.name.label'), :hint => conditional_hint('gateway_parameters.form.name.hint'), :autofocus => true
+ = f.input :value, :label => t('gateway_parameters.form.value.label'), :hint => conditional_hint('gateway_parameters.form.value.hint')
+ = f.input :class_type, :collection => GatewayParameter::CLASS_TYPES, :label => t('gateway_parameters.form.class_type.label'), :hint => conditional_hint('gateway_parameters.form.class_type.hint'), :include_blank => false
+ = f.input :description, :label => t('gateway_parameters.form.description.label'), :hint => conditional_hint('gateway_parameters.form.description.hint')