diff options
| author | Xinhui | 2017-11-23 14:14:04 +0100 | 
|---|---|---|
| committer | Xinhui | 2017-11-28 12:21:33 +0100 | 
| commit | 6820faf7849ff704c55cde29c8b2efc320ff63d7 (patch) | |
| tree | fca06b0663ff2150349cafe6fd5839d3ea7115af /app/views/journey_patterns_collections | |
| parent | 1e61b1792c4c0be9e55b6469610fca982d8a9e54 (diff) | |
| download | chouette-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.slim | 7 | 
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 | 
