Ok, I am trying to render a simple link in haml in a Padrino/Sinatra app.

the link, as html is:

<a href='/auth/twitter'>Sign in with Twitter</a>

my attempt in haml is:

%a(:href =>'/auth/twitter')Sign in with Twitter

but since i am trying to render inline i have to enclose it in quote like 
render :haml,  "%a(:href => 'auth/twitter') Sign in now with Twitter"

and that blows up in my face.  Any thoughts?



-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/haml/-/8vsno_owwwQJ.
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