aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/journey_patterns
diff options
context:
space:
mode:
authorMarc Florisson2012-07-09 12:16:12 +0200
committerMarc Florisson2012-07-09 12:16:12 +0200
commitf4f4948ec43dfb3c42044663a2b50542095d72c4 (patch)
tree1d93a1faf46241fd8d5ab8610db030ad276dc16a /app/views/journey_patterns
parentc9e933013f0cc402f06bf5550c5c10643e44961e (diff)
downloadchouette-core-f4f4948ec43dfb3c42044663a2b50542095d72c4.tar.bz2
journey_pattern#form: add warning message on stop selection. Refs #62
Diffstat (limited to 'app/views/journey_patterns')
-rw-r--r--app/views/journey_patterns/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/journey_patterns/_form.html.erb b/app/views/journey_patterns/_form.html.erb
index ed68bb4c8..9d7454b72 100644
--- a/app/views/journey_patterns/_form.html.erb
+++ b/app/views/journey_patterns/_form.html.erb
@@ -4,7 +4,7 @@
<%= form.input :published_name %>
<%= form.input :registration_number %>
<%= form.input :comment %>
- <%= form.input :stop_point_ids, :as => :check_boxes, :collection => @route.stop_points.map { |s| [s.stop_area.name, s.id.to_s]}, :input_html => (@journey_pattern.new_record? ? { :checked => 'checked' }:{}) %>
+ <%= form.input :stop_point_ids, :label => stop_point_ids_label(@journey_pattern), :as => :check_boxes, :collection => @route.stop_points.map { |s| [s.stop_area.name, s.id.to_s]}, :input_html => (@journey_pattern.new_record? ? { :checked => 'checked' }:{}) %>
<%= form.input :objectid, :input_html => { :disabled => !@journey_pattern.new_record? } %>
<% end %>