aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/access_links/_form.html.erb2
-rw-r--r--app/views/access_points/_form.html.erb2
-rw-r--r--app/views/companies/_form.erb2
-rw-r--r--app/views/connection_links/_form.erb2
-rw-r--r--app/views/group_of_lines/_form.erb2
-rw-r--r--app/views/journey_patterns/_form.html.erb2
-rw-r--r--app/views/lines/_form.erb2
-rw-r--r--app/views/networks/_form.erb2
-rw-r--r--app/views/routes/_form.html.erb2
-rw-r--r--app/views/stop_areas/_form.html.erb2
-rw-r--r--app/views/time_tables/_form.erb2
-rw-r--r--app/views/vehicle_journeys/_form.html.erb2
12 files changed, 12 insertions, 12 deletions
diff --git a/app/views/access_links/_form.html.erb b/app/views/access_links/_form.html.erb
index 147686930..a5145adc7 100644
--- a/app/views/access_links/_form.html.erb
+++ b/app/views/access_links/_form.html.erb
@@ -28,7 +28,7 @@
<%= form.input :mobility_restricted_suitability,:as => :boolean %>
<%= form.input :stairs_availability,:as => :boolean %>
<%= form.input :lift_availability,:as => :boolean %>
- <%= form.input :objectid, :required => !@access_link.new_record?, :input_html => { :disabled => !@access_link.new_record? } %>
+ <%= form.input :objectid, :required => !@access_link.new_record? %>
<% end %>
<%= form.actions do %>
<%= form.action :submit, :as => :button %>
diff --git a/app/views/access_points/_form.html.erb b/app/views/access_points/_form.html.erb
index 8e546a878..0c5b2c37a 100644
--- a/app/views/access_points/_form.html.erb
+++ b/app/views/access_points/_form.html.erb
@@ -22,7 +22,7 @@
<%= form.input :mobility_restricted_suitability,:as => :boolean %>
<%= form.input :stairs_availability,:as => :boolean %>
<%= form.input :lift_availability,:as => :boolean %>
- <%= form.input :objectid, :required => !@access_point.new_record?, :input_html => { :disabled => !@access_point.new_record? } %>
+ <%= form.input :objectid, :required => !@access_point.new_record? %>
<%= form.inputs :name => t('access_points.show.geographic_data') do %>
<% if ! @referential.projection_type_label.empty? %>
<%= form.inputs :name => @referential.projection_type_label do %>
diff --git a/app/views/companies/_form.erb b/app/views/companies/_form.erb
index 9b605a6a2..c4fb90ee1 100644
--- a/app/views/companies/_form.erb
+++ b/app/views/companies/_form.erb
@@ -9,7 +9,7 @@
<%= form.input :fax, :as => :phone %>
<%= form.input :email, :as => :email %>
<%= form.input :registration_number %>
- <%= form.input :objectid, :required => !@company.new_record?, :input_html => { :disabled => !@company.new_record? } %>
+ <%= form.input :objectid, :required => !@company.new_record? %>
<% end %>
<%= form.actions do %>
diff --git a/app/views/connection_links/_form.erb b/app/views/connection_links/_form.erb
index a0a29d954..4d625005b 100644
--- a/app/views/connection_links/_form.erb
+++ b/app/views/connection_links/_form.erb
@@ -27,7 +27,7 @@
<%= form.input :stairs_availability,:as => :boolean %>
<%= form.input :lift_availability,:as => :boolean %>
- <%= form.input :objectid, :required => !@connection_link.new_record?, :input_html => { :disabled => !@connection_link.new_record? } %>
+ <%= form.input :objectid, :required => !@connection_link.new_record? %>
<% end %>
<%= form.actions do %>
diff --git a/app/views/group_of_lines/_form.erb b/app/views/group_of_lines/_form.erb
index 329d3c619..b92fa1ea1 100644
--- a/app/views/group_of_lines/_form.erb
+++ b/app/views/group_of_lines/_form.erb
@@ -2,7 +2,7 @@
<%= form.inputs do %>
<%= form.input :name %>
<%= form.input :comment %>
- <%= form.input :objectid, :required => !@group_of_line.new_record?, :input_html => { :disabled => !@group_of_line.new_record? } %>
+ <%= form.input :objectid, :required => !@group_of_line.new_record? %>
<% end %>
<%= form.inputs do %>
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 %>
diff --git a/app/views/lines/_form.erb b/app/views/lines/_form.erb
index 5705d7b1e..c844fbab4 100644
--- a/app/views/lines/_form.erb
+++ b/app/views/lines/_form.erb
@@ -9,7 +9,7 @@
<%= form.input :number %>
<%= form.input :transport_mode, :as => :select, :collection => Chouette::Line.transport_modes, :include_blank => false, :member_label => Proc.new { |mode| t("transport_modes.label.#{mode}") } %>
<%= form.input :comment %>
- <%= form.input :objectid, :required => !@line.new_record?, :input_html => { :disabled => !@line.new_record? } %>
+ <%= form.input :objectid, :required => !@line.new_record? %>
<% end %>
<%= form.inputs do %>
diff --git a/app/views/networks/_form.erb b/app/views/networks/_form.erb
index 935a61efc..61b52a6a4 100644
--- a/app/views/networks/_form.erb
+++ b/app/views/networks/_form.erb
@@ -7,7 +7,7 @@
<%= form.input :description %>
<%= form.input :source_name %>
<%= form.input :source_identifier %>
- <%= form.input :objectid, :required => !@network.new_record?, :input_html => { :disabled => !@network.new_record? } %>
+ <%= form.input :objectid, :required => !@network.new_record? %>
<% end %>
<%= form.actions do %>
diff --git a/app/views/routes/_form.html.erb b/app/views/routes/_form.html.erb
index b11e94f2c..508593d07 100644
--- a/app/views/routes/_form.html.erb
+++ b/app/views/routes/_form.html.erb
@@ -7,7 +7,7 @@
<%= form.input :opposite_route, :as => :select, :collection => @line.routes.select { |r| r.id != @route.id } %>
<%= form.input :direction_code, :as => :select, :collection => Chouette::Route.directions, :include_blank => false, :member_label => Proc.new { |mode| t("directions.label.#{mode}") } %>
<%= form.input :wayback_code, :as => :select, :collection => Chouette::Route.waybacks, :include_blank => false, :member_label => Proc.new { |mode| t("waybacks.label.#{mode}") } %>
- <%= form.input :objectid, :required => !@route.new_record?, :input_html => { :disabled => !@route.new_record? } %>
+ <%= form.input :objectid, :required => !@route.new_record?%>
<% end %>
<div id="stop_points">
<%= form.semantic_fields_for :stop_points, :include_id => false, :label => "TOTO" do |p| %>
diff --git a/app/views/stop_areas/_form.html.erb b/app/views/stop_areas/_form.html.erb
index 279ab67f5..83255f0d8 100644
--- a/app/views/stop_areas/_form.html.erb
+++ b/app/views/stop_areas/_form.html.erb
@@ -27,7 +27,7 @@
<% end %>
<% end %>
<% end %>
- <%= form.input :objectid, :required => !@stop_area.new_record?, :input_html => { :disabled => !@stop_area.new_record? } %>
+ <%= form.input :objectid, :required => !@stop_area.new_record? %>
<% end %>
<%= form.actions do %>
diff --git a/app/views/time_tables/_form.erb b/app/views/time_tables/_form.erb
index 9970577d6..ddcd5742f 100644
--- a/app/views/time_tables/_form.erb
+++ b/app/views/time_tables/_form.erb
@@ -14,7 +14,7 @@
<%= form.input :sunday, :as => :boolean %>
<% end %>
<%= form.inputs do %>
- <%= form.input :objectid, :required => !@time_table.new_record?, :input_html => { :disabled => !@time_table.new_record? } %>
+ <%= form.input :objectid, :required => !@time_table.new_record? %>
<% end %>
<h3 class="time_table_periods">
diff --git a/app/views/vehicle_journeys/_form.html.erb b/app/views/vehicle_journeys/_form.html.erb
index 8f15b6336..600c96313 100644
--- a/app/views/vehicle_journeys/_form.html.erb
+++ b/app/views/vehicle_journeys/_form.html.erb
@@ -8,7 +8,7 @@
<%= form.input :status_value %>
<%= form.input :facility %>
<%= form.input :vehicle_type_identifier%>
- <%= form.input :objectid, :required => !@vehicle_journey.new_record?, :input_html => { :disabled => !@vehicle_journey.new_record? } %>
+ <%= form.input :objectid, :required => !@vehicle_journey.new_record? %>
<%= form.inputs :class => "stop_times", :name => @vehicle_journey.human_attribute_name(:vehicle_journey_at_stop_ids) do %>
<table border="0" class="vehicle_journey_at_stops">