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