search for: inputlabel

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

Did you mean: input_label
2006 Jun 07
1
Label Helpers
Don''t know whether this has been discussed for the core, or if anyone has seen a plugin. Can anyone think of a reason why the form helpers don''t produce corresponding labels? ...... Take the following example.... <label for="hotel_content_airportlocal" class="inputLabel">Name of Local airport</label> <%= text_field ''hotel_content'', ''airportlocal''%> The helper for text_field is compact but the necessary label code is twice as long when most of the information is specific for the field. Surely a syntax such a...