summaryrefslogtreecommitdiff
path: root/app/views/switchboard_entries/_form.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-08 12:09:17 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-08 12:09:17 +0100
commit6374c0b3e38dfc74eb1b4a5a1fcc5229eacdcaf2 (patch)
tree016deaf97e961973069a592537594348df7bb5a7 /app/views/switchboard_entries/_form.html.haml
parentdb9dbf03d88cfbd68ce99a242730b9e870339539 (diff)
Added SwitchboardEntry scaffold. switchboard has_many switchboard_entries
Diffstat (limited to 'app/views/switchboard_entries/_form.html.haml')
-rw-r--r--app/views/switchboard_entries/_form.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/switchboard_entries/_form.html.haml b/app/views/switchboard_entries/_form.html.haml
new file mode 100644
index 0000000..b3d56ec
--- /dev/null
+++ b/app/views/switchboard_entries/_form.html.haml
@@ -0,0 +1,7 @@
+= simple_form_for([@switchboard, @switchboard_entry]) do |f|
+ = f.error_notification
+
+ = render "form_core", :f => f
+
+ .form-actions
+ = f.button :submit, conditional_t('switchboard_entries.form.submit')