summaryrefslogtreecommitdiff
path: root/app/views/switchboard_entries/show.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-08 12:09:17 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-08 12:09:17 +0100
commit6374c0b3e38dfc74eb1b4a5a1fcc5229eacdcaf2 (patch)
tree016deaf97e961973069a592537594348df7bb5a7 /app/views/switchboard_entries/show.html.haml
parentdb9dbf03d88cfbd68ce99a242730b9e870339539 (diff)
Added SwitchboardEntry scaffold. switchboard has_many switchboard_entries
Diffstat (limited to 'app/views/switchboard_entries/show.html.haml')
-rw-r--r--app/views/switchboard_entries/show.html.haml22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/switchboard_entries/show.html.haml b/app/views/switchboard_entries/show.html.haml
new file mode 100644
index 0000000..b519781
--- /dev/null
+++ b/app/views/switchboard_entries/show.html.haml
@@ -0,0 +1,22 @@
+- content_for :title, t("switchboard_entries.show.page_title")
+
+.row
+ .span6
+ %table.table.table-striped
+ %tr
+ %td
+ %strong= t('switchboard_entries.show.sip_account_id') + ":"
+ %td
+ = @switchboard_entry.sip_account
+ %tr
+ %td
+ %strong= t('switchboard_entries.show.name') + ":"
+ %td
+ = @switchboard_entry.name
+ %tr
+ %td
+ %strong= t('switchboard_entries.show.position') + ":"
+ %td
+ = @switchboard_entry.position
+
+ = render :partial => 'shared/show_edit_destroy_part', :locals => {:parent => @switchboard, :child => @switchboard_entry } \ No newline at end of file