I’m searching for a method to dynamically build a form. ( false/true
the DB should automatically be a droplist)
If you use “_form.rhtml” it works easy, with only this code in your
but uses the extra file, and doesn’t feel profi and flexible.
<%= start_form_tag :action => ‘create_product’ %>
<%= render :partial => ‘form’ %>
<%= submit_tag ‘Edit’ %>
<%= end_form_tag %>
If you do it like below, it looks really good and feels flexible, but
won’t auto-create the droplists.
<%= start_form_tag :action=> “create_product” %>