From ec3e4a5e37af032041c990f27494b0698ceca0e5 Mon Sep 17 00:00:00 2001 From: Michel Etienne Date: Tue, 24 Jun 2014 10:47:10 +0200 Subject: object creation fails when automatic objectid gives existing one, Mantis 25466 --- app/views/stop_areas/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/stop_areas') 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 %> -- cgit v1.2.3