There are those who see helpers as supersemanitc placeholders, others who see helpers as extensions to the HTML markup. Personally, I'm not dogmatic enough to always prefer one of the two. In the latter case what attributes are for HTML are options for the helper.
Not sure whether the parser could handle this, but why not using the comma as line continuation marker? = link_to 'Akzeptieren', accept_registration_path(user), :class => 'accept button', :'data-remote' => true, :'data-method' => :put If you're that concerned about abuse, just raise an exception if the first non-whitespace on the followup line is not a colon. -- 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.
