aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorLuc Donnet2017-07-03 15:29:49 +0200
committerLuc Donnet2017-07-03 15:29:49 +0200
commitb9faf2b87816ffc67af4bf10826ea51d049e2a48 (patch)
tree5a673688b2e26a8d96e16a3901f19c3549130514 /app
parent34775f5157902a30d1bbbb18991a1872b59fde3b (diff)
downloadchouette-core-b9faf2b87816ffc67af4bf10826ea51d049e2a48.tar.bz2
Add errors on stop_area list for routing_constraint_zone Refs #3953
Diffstat (limited to 'app')
-rw-r--r--app/views/routing_constraint_zones/edit.html.slim3
-rw-r--r--app/views/routing_constraint_zones/new.html.slim3
2 files changed, 6 insertions, 0 deletions
diff --git a/app/views/routing_constraint_zones/edit.html.slim b/app/views/routing_constraint_zones/edit.html.slim
index a99f8e8d3..e14cc48b3 100644
--- a/app/views/routing_constraint_zones/edit.html.slim
+++ b/app/views/routing_constraint_zones/edit.html.slim
@@ -18,6 +18,9 @@
.separator
+ - @routing_constraint_zone.errors[:stop_point_ids].each do |error_message|
+ = error_message
+
#ITL_stoppoints
.subform
.nested-head
diff --git a/app/views/routing_constraint_zones/new.html.slim b/app/views/routing_constraint_zones/new.html.slim
index 119f01e12..0b527467d 100644
--- a/app/views/routing_constraint_zones/new.html.slim
+++ b/app/views/routing_constraint_zones/new.html.slim
@@ -16,6 +16,9 @@
.separator
+ - @routing_constraint_zone.errors[:stop_point_ids].each do |error_message|
+ = error_message
+
#ITL_stoppoints
.subform
.nested-head