Displaying 1 result from an estimated 1 matches for "some_other_attribute".
2006 Apr 06
0
FormBuilder-friendly labels?
...:long_example_name, @long_example_name,
:url => { :action => :new } do |f| %>
<%= label_tag "long_example_name[some_attribute]", "Some Attribute:" %>
<%= f.text_field :some_attribute %>
<%= label_tag "long_example_name[some_other_attribute]", "Some
Other Attribute:" %>
<%= f.text_field :some_other_attribute %>
<%= label_tag "long_example_name[yet_another_attribute]", "Yet
Another Attribute:" %>
<%= f.text_field :yet_another_attribute %>
<% end -%>
I''...