diff options
Diffstat (limited to 'app/views/journey_patterns')
| -rw-r--r-- | app/views/journey_patterns/_stop_points_detail.html.erb | 10 | ||||
| -rw-r--r-- | app/views/journey_patterns/show.html.erb | 4 |
2 files changed, 2 insertions, 12 deletions
diff --git a/app/views/journey_patterns/_stop_points_detail.html.erb b/app/views/journey_patterns/_stop_points_detail.html.erb deleted file mode 100644 index 6c9e4afae..000000000 --- a/app/views/journey_patterns/_stop_points_detail.html.erb +++ /dev/null @@ -1,10 +0,0 @@ - <div class="page_info"> - <span class="search"> <%= t("will_paginate.page_entries_info.list") %></span> <%= page_entries_info @stop_points %> - </div> - <div class="stop_points paginated_content"> - <%= render :partial => "stop_points/stop_point", :collection => @stop_points %> - </div> - <div class="pagination"> - <%= will_paginate @stop_points, :container => false %> - </div> - diff --git a/app/views/journey_patterns/show.html.erb b/app/views/journey_patterns/show.html.erb index eb8f40cc1..1bdd5cc5e 100644 --- a/app/views/journey_patterns/show.html.erb +++ b/app/views/journey_patterns/show.html.erb @@ -38,8 +38,8 @@ <p class="after_map" /> <h3 class="journey_pattern_stop_points"><%= t('.stop_points') %></h3> -<div class="stop_points_detail" > - <%= render :partial => "stop_points_detail" %> +<div class="stop_points paginated_content" > + <%= paginated_content @stop_points, "stop_points/stop_point" %> </div> <% content_for :sidebar do %> |
