diff options
| author | Luc Donnet | 2017-06-29 00:19:24 +0200 | 
|---|---|---|
| committer | Luc Donnet | 2017-06-29 00:19:24 +0200 | 
| commit | 1adc021ba4d797152a6f31cfe17161ef20877fb7 (patch) | |
| tree | f807b9c38d2f65a8c913f0e36692b33df025d73c /app/views/routing_constraint_zones | |
| parent | f2191bd26937e7433a6ddfd2eda489a6cf4ae30e (diff) | |
| download | chouette-core-1adc021ba4d797152a6f31cfe17161ef20877fb7.tar.bz2 | |
Fix RoutingConstraintZone Policy
Diffstat (limited to 'app/views/routing_constraint_zones')
| -rw-r--r-- | app/views/routing_constraint_zones/_form.html.slim | 2 | ||||
| -rw-r--r-- | app/views/routing_constraint_zones/edit.html.slim | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/routing_constraint_zones/_form.html.slim b/app/views/routing_constraint_zones/_form.html.slim index 3d4764ef7..5e5f44269 100644 --- a/app/views/routing_constraint_zones/_form.html.slim +++ b/app/views/routing_constraint_zones/_form.html.slim @@ -3,7 +3,7 @@    .row      .col-lg-12        = form.input :name -      = form.input :route_id, collection: @line.routes.select { |route| route.stop_points.count > 2 }, include_blank: false +      = form.input :route_id, collection: @line.routes, include_blank: false        .separator diff --git a/app/views/routing_constraint_zones/edit.html.slim b/app/views/routing_constraint_zones/edit.html.slim index d81a347e0..589083927 100644 --- a/app/views/routing_constraint_zones/edit.html.slim +++ b/app/views/routing_constraint_zones/edit.html.slim @@ -1,6 +1,6 @@  / PageHeader  = pageheader 'map-marker', -             t('.title'), +             t('.title', routing_constraint_zone: @routing_constraint_zone.name),               '',               t('last_update', time: l(@routing_constraint_zone.updated_at, format: :short))  | 
