diff options
Diffstat (limited to 'app/views/lines')
| -rw-r--r-- | app/views/lines/show.html.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/lines/show.html.erb b/app/views/lines/show.html.erb index cd0e6b2ac..23c65573f 100644 --- a/app/views/lines/show.html.erb +++ b/app/views/lines/show.html.erb @@ -51,10 +51,18 @@ </div> </div> +<h3 class="routes"><%= t('.itineraries') %></h3> +<%= will_paginate @routes %> +<div class="routes paginated_content"> + <%= render :partial => "routes/route", :collection => @routes %> +</div> +<%= will_paginate @routes %> + <% content_for :sidebar do %> <ul class="actions"> <li><%= link_to t('lines.actions.edit'), edit_referential_line_path(@referential, @line), :class => "edit" %></li> <li><%= link_to t('lines.actions.destroy'), referential_line_path(@referential, @line), :method => :delete, :confirm => t('lines.actions.destroy_confirm'), :class => "remove" %></li> + <li><%= link_to t('routes.actions.new'), new_referential_line_route_path(@referential, @line), :class => "add" %></li> <br> </ul> <% end %> |
