aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/journey_patterns_collections
diff options
context:
space:
mode:
authorXinhui2017-11-23 14:14:04 +0100
committerXinhui2017-11-28 12:21:33 +0100
commit6820faf7849ff704c55cde29c8b2efc320ff63d7 (patch)
treefca06b0663ff2150349cafe6fd5839d3ea7115af /app/views/journey_patterns_collections
parent1e61b1792c4c0be9e55b6469610fca982d8a9e54 (diff)
downloadchouette-core-6820faf7849ff704c55cde29c8b2efc320ff63d7.tar.bz2
Replace pageheader by render partial
Diffstat (limited to 'app/views/journey_patterns_collections')
-rw-r--r--app/views/journey_patterns_collections/show.html.slim7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/views/journey_patterns_collections/show.html.slim b/app/views/journey_patterns_collections/show.html.slim
index 7c62b69ee..09de04ef9 100644
--- a/app/views/journey_patterns_collections/show.html.slim
+++ b/app/views/journey_patterns_collections/show.html.slim
@@ -1,9 +1,6 @@
- breadcrumb :journey_patterns, @referential, @route
-/ pageheader
-= pageheader 'mission',
- "Missions de #{@route.try(:stop_points).first.try(:stop_area).name} vers #{@route.try(:stop_points).last.try(:stop_area).name}",
- 'Lorem ipsum dolor sit amet',
- ''
+= render partial: 'layouts/navigation/page_header', locals: {object: @route}
+
- @journey_patterns.each do |jp|
- jp.errors.each do |error_message|
= error_message