summaryrefslogtreecommitdiff
path: root/app/views/route_elements/_form_core.html.haml
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-17 12:31:28 +0100
committerspag <spag@golwen.net>2013-01-17 12:31:28 +0100
commit808a9d19c7376907370e58662856cd028e9b83b1 (patch)
treea005f8c1bb1016d8d1b4218772542da780bd7740 /app/views/route_elements/_form_core.html.haml
parentae8ce84e44d776b3c2318795ceff611f0639b7ec (diff)
route elements views
Diffstat (limited to 'app/views/route_elements/_form_core.html.haml')
-rw-r--r--app/views/route_elements/_form_core.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/route_elements/_form_core.html.haml b/app/views/route_elements/_form_core.html.haml
index 133d1df..a9a38a7 100644
--- a/app/views/route_elements/_form_core.html.haml
+++ b/app/views/route_elements/_form_core.html.haml
@@ -3,6 +3,5 @@
= f.input :var_out, :label => t('route_elements.form.var_out.label'), :hint => conditional_hint('route_elements.form.var_out.hint')
= f.input :pattern, :label => t('route_elements.form.pattern.label'), :hint => conditional_hint('route_elements.form.pattern.hint')
= f.input :replacement, :label => t('route_elements.form.replacement.label'), :hint => conditional_hint('route_elements.form.replacement.hint')
- = f.input :action, :label => t('route_elements.form.action.label'), :hint => conditional_hint('route_elements.form.action.hint')
+ = f.input :action, :collection => RouteElement::ELEMENT_ACTIONS, :label => t('route_elements.form.action.label'), :hint => conditional_hint('route_elements.form.action.hint'), :include_blank => false
= f.input :mandatory, :label => t('route_elements.form.mandatory.label'), :hint => conditional_hint('route_elements.form.mandatory.hint')
- = f.input :position, :label => t('route_elements.form.position.label'), :hint => conditional_hint('route_elements.form.position.hint')