diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-03-10 09:52:31 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-03-10 09:52:31 +0100 |
commit | 13e16223977966f9751e7b8e3fb587e2df0a0801 (patch) | |
tree | a5eae59fa92f37f4d4b301ee8ae3d94b8f22551b /app/views/switchboards | |
parent | 04730ba7acf55ed5310352eabf3876bf5b8d1f87 (diff) |
Add a second configuration option.
Diffstat (limited to 'app/views/switchboards')
-rw-r--r-- | app/views/switchboards/edit.html.haml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app/views/switchboards/edit.html.haml b/app/views/switchboards/edit.html.haml index 1ab0efe..f2e69f4 100644 --- a/app/views/switchboards/edit.html.haml +++ b/app/views/switchboards/edit.html.haml @@ -1,3 +1,12 @@ - content_for :title, t("switchboards.edit.page_title") -= render "form"
\ No newline at end of file +.row + .span12 + = render "form" + +.row + .span12 + - if @switchboard.switchboard_entries && @switchboard.switchboard_entries.count > 0 + = render "switchboard_entries/index_core", :switchboard_entries => @switchboard.switchboard_entries + + = render :partial => 'shared/create_link', :locals => {:parent => @switchboard, :child_class => SwitchboardEntry}
\ No newline at end of file |