summaryrefslogtreecommitdiff
path: root/app/views/switchboards/_form.html.haml
diff options
context:
space:
mode:
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')