diff options
| author | Marc Florisson | 2012-09-05 08:37:32 +0200 |
|---|---|---|
| committer | Marc Florisson | 2012-09-05 08:37:32 +0200 |
| commit | 95041fc13a7d3b40484bb50ba90666dcc58f5425 (patch) | |
| tree | c08cbb7429359f8d17997fb28f894982d37498c3 /app/views/journey_patterns | |
| parent | d9f7f2da7a8838672681afb521bfb07a7769a96e (diff) | |
| download | chouette-core-95041fc13a7d3b40484bb50ba90666dcc58f5425.tar.bz2 | |
update ninoxe and fix objectid input on form
Diffstat (limited to 'app/views/journey_patterns')
| -rw-r--r-- | app/views/journey_patterns/_form.html.erb | 2 |
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 9d7454b72..9577edd2c 100644 --- a/app/views/journey_patterns/_form.html.erb +++ b/app/views/journey_patterns/_form.html.erb @@ -5,7 +5,7 @@ <%= form.input :registration_number %> <%= form.input :comment %> <%= 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? } %> + <%= form.input :objectid, :required => !@journey_pattern.new_record?, :input_html => { :disabled => !@journey_pattern.new_record? } %> <% end %> <%= form.actions do %> |
