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
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
Helpers should be used to keep programming logic outside of your views. Haml
is for generating markup. You can do this using normal haml syntax:
%fb:prompt-permission(perms=offline_access) Give me access
chris
On Sun, Feb 20, 2011 at 8:56 AM, kadoudal kadou...@gmail.com wrote:
I read in some