In this case, ~ won't save you. That's only useful when you have some 
script that's returning something with a textarea in it. Because the 
issue here seems to be that the 50-character-linebreak rule is messing 
with you, what you want to do is convert that textarea to use the Rails 
helper, /then/ use ~ on that:

~ textarea # etc.


- Nathan

[EMAIL PROTECTED] wrote:
> got the problem with unneeded indentations in textarea:
> controller:
> ...
> @rows = 2
> @cols = 27
> @ftest = "TEST ME TEST ME TEST ME TEST ME TEST ME TEST ME TEST ME"
> ...
>
> haml:
> ...
>   %textarea#description.texta{:name => 'description', :rows =>
> @rows, :cols =>@[EMAIL PROTECTED]
> ...
>
> in other posts I have found that ~ would help but could not make it
> workable in my case.
> How should I rewrite my haml part so it works fine?
>
> thanks in advance,
> smok
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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