diff options
| author | Michel Etienne | 2014-06-24 10:47:10 +0200 |
|---|---|---|
| committer | Michel Etienne | 2014-06-24 10:47:10 +0200 |
| commit | ec3e4a5e37af032041c990f27494b0698ceca0e5 (patch) | |
| tree | e2ab033be58d98a8ae46e3dc9785d55f1d0a6b57 /app/views/journey_patterns | |
| parent | 24eac112be18f086f787ca8c828b9b1a4ee6e84c (diff) | |
| download | chouette-core-ec3e4a5e37af032041c990f27494b0698ceca0e5.tar.bz2 | |
object creation fails when automatic objectid gives existing one, Mantis 25466
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 9577edd2c..771283885 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, :required => !@journey_pattern.new_record?, :input_html => { :disabled => !@journey_pattern.new_record? } %> + <%= form.input :objectid, :required => !@journey_pattern.new_record? %> <% end %> <%= form.actions do %> |
