summaryrefslogtreecommitdiff
path: root/app/views/switchboards/index.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/index.html.haml
parent3e19646f46c772e10ed3d7a45e8c974ab23f625b (diff)
Added Switchboard scaffold.
Diffstat (limited to 'app/views/switchboards/index.html.haml')
-rw-r--r--app/views/switchboards/index.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/switchboards/index.html.haml b/app/views/switchboards/index.html.haml
new file mode 100644
index 0000000..4f29d7d
--- /dev/null
+++ b/app/views/switchboards/index.html.haml
@@ -0,0 +1,8 @@
+- content_for :title, t("switchboards.index.page_title")
+
+.row
+ .span6
+ - if @switchboards && @switchboards.count > 0
+ = render :partial => "index_core", :locals => {:switchboards => @switchboards, :user => @user}
+
+ = render :partial => 'shared/create_link', :locals => {:parent => @user, :child_class => Switchboard} \ No newline at end of file