Ok, so when I have a textarea, I'll declare it thusly:
%p
  %b Body
  %br/
  = f.text_area :body, :rows => 30, :cols => 120

Which works, except when I edit the form and the text is put into the
textarea, there are all these spaces at the beginning of every newline
within the textarea, due to the indention loveliness going on.

So no problem, right?  Just use tab_down and get it back down to where
it should be.  Right?  Wrong.  This haml file is rendered within a
layout file, and tab_down won't go any further than the base indention
for the file that tab_down is being called in.  So, while the
text_area line within edit.html.haml only has an indentation of 4
spaces, it has an indention within application.html.haml-
>edit.html.haml of 14 lines.

Anyone have any workarounds?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to