Avoid white space after input text boxes

18 views
Skip to first unread message

Panayotis Matsinopoulos

unread,
Aug 27, 2015, 9:14:12 AM8/27/15
to Haml
Hi,

I am using HAML and I like it very much. However, I need a way to avoid extra white spaces added at the end of the control.

For example, in ERB, when I am using:

<%= text_field_tag :foo -%>
<%= text_field_tag :foo2 -%>

the two input text boxes appear next to each other without any white space in between.

How can I do the same with HAML?

Thanks in advance
Panayotis

Reply all
Reply to author
Forward
0 new messages