summaryrefslogtreecommitdiff
path: root/app/views/switchboards/_form.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-07 13:15:35 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-07 13:15:35 +0100
commitdb9dbf03d88cfbd68ce99a242730b9e870339539 (patch)
tree72947eddcb03f8a6ae6efd79a035bd9e761b4963 /app/views/switchboards/_form.html.haml
parent3e19646f46c772e10ed3d7a45e8c974ab23f625b (diff)
Added Switchboard scaffold.
Diffstat (limited to 'app/views/switchboards/_form.html.haml')
-rw-r--r--app/views/switchboards/_form.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/switchboards/_form.html.haml b/app/views/switchboards/_form.html.haml
new file mode 100644
index 0000000..bb09713
--- /dev/null
+++ b/app/views/switchboards/_form.html.haml
@@ -0,0 +1,7 @@
+= simple_form_for([@user, @switchboard]) do |f|
+ = f.error_notification
+
+ = render "form_core", :f => f
+
+ .form-actions
+ = f.button :submit, conditional_t('switchboards.form.submit')