This is a code sample of what I have made so far:
New Report for <%= @way.road.name%>, <%= @way.name%>
<%= form_tag :action => :create, :id => @way.id%>
Date: <%= datetime_select("report", "time") %>
Priority:
<%= radio_button("report", "priority", 1) %> high -
<%= radio_butto
Thank you Freddy. That wasn't exactly what I needed to do, but the
screencasts helped me in another case.
What I actually need to do is simpler: create multiple Reports at the
same time. Each report has a description with a textfield and I have
to associate it with a different segment. That's all
I think you will be happy to watch this screencast
http://railscasts.com/episodes/75-complex-forms-part-3
Its a project that has_many tasks but it talks about exactly the
problem you have with build_segments 3.times...
--~--~-~--~~~---~--~~
You received this messa
3 matches
Mail list logo