search for: yet_another_attribute

Displaying 1 result from an estimated 1 matches for "yet_another_attribute".

2006 Apr 06
0
FormBuilder-friendly labels?
...quot;, "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''d like to avoid repeating the "long_example_name" inside the builder, because it wears my fingers out, and makes it harder to refactor later. Sadly, you can...