diff options
Diffstat (limited to 'app/views/switchboards/show.html.haml')
-rw-r--r-- | app/views/switchboards/show.html.haml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/switchboards/show.html.haml b/app/views/switchboards/show.html.haml new file mode 100644 index 0000000..18671c2 --- /dev/null +++ b/app/views/switchboards/show.html.haml @@ -0,0 +1,18 @@ +- content_for :title, @switchboard.name + +.row + .span12 + .well.pull-right + %p + =current_user + + %ul.thumbnails + = render :partial => "switchboard_entries/switchboard_entry", :collection => @switchboard_entries + +- if can? :edit, @switchboard + .row + .span12 + %a.btn.btn-small.btn-warning{:href => switchboard_switchboard_entries_path(@switchboard) } + %i.icon-edit.icon-white + %span.hidden-phone + =t("switchboard_entries.index.page_title") |