I have it exactly like you said:
<%= text_field_tag "type[#{cat.name}]", 0, :size => 1, :id =>
"type_#{cat.id}", :disabled => true %>
or rather:
<input id="type_826889617" type="text" value="0" size="1"
name="type[Tarnung]" disabled="disabled"/>
But I only get the fields used with the form_for (all form.text_field
inputs). None of the text_field_tags is in the params array.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---