I want the chain to select the part inside my Formtastic form. But is it possible to set custom identifiers for multiple samples for future AJAX replacement?
This does not work:
<%= semantic_form_for [:admin, @production_year] do |f| %> <%= f.inputs do %> <%= f.input :car_model, :label => "CarModel", :as => :select, :collection => Brand.find(:all, :order => "name ASC"), :id => "brand_id" %> <% end %> <% end %>
Bazzy source share