summaryrefslogtreecommitdiff
path: root/app/views/call_routes/show.html.haml
diff options
context:
space:
mode:
authorJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-16 22:05:51 +0100
committerJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-16 22:05:51 +0100
commit3fbadb4f1b1d9a16b81892356b4020dbfa455b5a (patch)
treeced8cd685a0366af3e827163943682a618094545 /app/views/call_routes/show.html.haml
parent0601ff60400e27451259531bb26cb69c7e6e352c (diff)
parent1bd91b138c773aedbd5f18b9df79e28fac240dbc (diff)
Merge branch 'develop' of https://github.com/amooma/GS5 into develop
Diffstat (limited to 'app/views/call_routes/show.html.haml')
-rw-r--r--app/views/call_routes/show.html.haml8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/call_routes/show.html.haml b/app/views/call_routes/show.html.haml
index 31c3cb0..c5c7397 100644
--- a/app/views/call_routes/show.html.haml
+++ b/app/views/call_routes/show.html.haml
@@ -16,4 +16,10 @@
%strong= t('call_routes.show.position') + ":"
= @call_route.position
-= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @call_route } \ No newline at end of file
+= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @call_route }
+
+%h3= t('route_elements.index.page_title')
+- if @call_route.route_elements && @call_route.route_elements.count > 0
+ = render "route_elements/index_core", :route_elements => @call_route.route_elements
+
+= render :partial => 'shared/create_link', :locals => { :parent => @call_route, :child_class => RouteElement }