search for: khoan

Displaying 1 result from an estimated 1 matches for "khoan".

Did you mean: khan
2011 Feb 17
16
Unindent ERB output
Hi all, I''d like to unindent a block of ERB specifically to combat the extra spacing being added to content inside <textarea> by the browser. Is there such a feature in ERB? I shall denote indentation with underscores in the pseudo code example below. Thanks in advance, Khoan. myview.erb: <html ...> __<%= render ''form'' %> </html> _form.erb: <% form_for ... do %> __<%= render ''unindented'' %> <% end %> _unindented.erb: <textarea><%= ''this is unindented'' %></te...