summaryrefslogtreecommitdiff
path: root/app/views/call_routes/show.html.haml
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-16 21:24:24 +0100
committerspag <spag@golwen.net>2013-01-16 21:24:24 +0100
commit046ce09895a08778c971052f6d22ecd6422aee6d (patch)
treefffc435dd7c975ed3fb08312f06bfdbb184205a4 /app/views/call_routes/show.html.haml
parent6a3eb3a21958e4bc1a73e5774c3717fc01ee64e0 (diff)
list route elements in route view
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 }