diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2012-12-17 12:01:45 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2012-12-17 12:01:45 +0100 |
commit | b80bd744ad873f6fc43018bc4bfb90677de167bd (patch) | |
tree | 072c4b0e33d442528555b82c415f5e7a1712b2b0 /app/views/gui_functions/_form_core.html.haml | |
parent | 3e706c2025ecc5523e81ad649639ef2ff75e7bac (diff) |
Start of GS5.
Diffstat (limited to 'app/views/gui_functions/_form_core.html.haml')
-rw-r--r-- | app/views/gui_functions/_form_core.html.haml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/gui_functions/_form_core.html.haml b/app/views/gui_functions/_form_core.html.haml new file mode 100644 index 0000000..c2d6cd7 --- /dev/null +++ b/app/views/gui_functions/_form_core.html.haml @@ -0,0 +1,10 @@ +.inputs + = f.input :category, :label => t('gui_functions.form.category.label'), :hint => conditional_hint('gui_functions.form.category.hint') + = f.input :name, :label => t('gui_functions.form.name.label'), :hint => conditional_hint('gui_functions.form.name.hint') + = f.input :description, :label => t('gui_functions.form.description.label'), :hint => conditional_hint('gui_functions.form.description.hint') + + - counter = 0 + = f.fields_for :gui_function_memberships do |gui_function_membership| + = gui_function_membership.hidden_field :user_group_id + = gui_function_membership.input :activated, :label => @user_groups[counter], :hint => conditional_hint('gui_functions.form.activated.hint') + - counter = counter + 1
\ No newline at end of file |