hangon
2008-Apr-01 21:21 UTC
using label tags in scaffold views...how to get the method name?
hi, i want to use the <label> tag in the scaffold views. for a text field where the id is id="person_last_name" how can i get the person_last_name string programmaticaly to use it as a label parameter <label for="person_last_name"> --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
hangon
2008-Apr-01 21:32 UTC
Re: using label tags in scaffold views...how to get the method name?
my bad i should have search the mailing list first: the label helper plugin seems to be what i was looking for. great http://blog.eric-stewart.com/pages/projects On Apr 1, 11:21 pm, hangon <olivier.heric...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi, > > i want to use the <label> tag in the scaffold views. > for a text field where the id is id="person_last_name" how can i get > the person_last_name string programmaticaly to use it as a label > parameter <label for="person_last_name">--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---