have you tried it? it doesn't work with me ;-5
On Feb 24, 8:34 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> The way we suggest doing this is writing a helper. This helps keep your
> views clean and simple. However, if you absolutely need to, you can
> write multiple lines by putting the pipe character ("|") at the end of
> each part of the line:
>
> %p
> = text_field :totototottotototot, :size => '30', |
> :title => 'balablablabla', |
> :id => 'totototototototot' |
> Stuff
>
> is equivalent to
>
> %p
> = text_field :totototottotototot, :size => '30', :title =>
> 'balablablabla', :id => 'totototototototot'
> Stuff
>
> Hope that helps.
>
> - Nathan
>
> [EMAIL PROTECTED] wrote:
> > Sorry for this newbies question but i didn't find any answer.
> > i have lines looking like this :
> > = text_field :totototottotototot, :size => '30', :title =>
> > 'balablablabla', :id => 'totototototototot' etc....
> > i like when a line has not more than 80 characters.
> > how could i write this line on several lines?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---