On May 21, 4:56 pm, Mohammed Alenazi <[email protected]> wrote: > Hi > I am trying to set title attribute for the text filed inside a form > using rails. > I tried > <%= f.text_field :email , :class => "autoclear",:title => "title" %></ > p> > but it did not work > I want it to produce this HTML
What did it produce ? Fred > <input type="text" title="title" size="30" name="user[email]" > id="user_email" class="autoclear"> > > -- > 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 > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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.

