I can't believe it's as simple as writing only one line
= fb_connect_async_js do
   ....

if yes, what if the block is empty ?

<%= fb_connect_async_js do %>
<% end %>

On 20 fév, 17:09, kadoudal <kadou...@gmail.com> wrote:
> I am a little bit lost when trying to rewrite a rails html layout
>
> I have this piece of code, and I don't know how to write the 'end'
>
> <%= fb_connect_async_js do %>
> <% end %>
>
> I can start writing
>
> = fb_connect_async_js do
> .. but then how do I write the 'end'
>
> thanks fro your suggestions ...

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to