aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/journey_patterns
diff options
context:
space:
mode:
authorMichel Etienne2014-06-24 10:47:10 +0200
committerMichel Etienne2014-06-24 10:47:10 +0200
commitec3e4a5e37af032041c990f27494b0698ceca0e5 (patch)
treee2ab033be58d98a8ae46e3dc9785d55f1d0a6b57 /app/views/journey_patterns
parent24eac112be18f086f787ca8c828b9b1a4ee6e84c (diff)
downloadchouette-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.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 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 %>