inside a view i have:
..
- content_for :sidebar do
  .signup
    %h2= 'Placeholder'

On Thu, Feb 24, 2011 at 8:27 PM, Phil Crissman <phil.criss...@gmail.com> wrote:
>
>
>
> On Thu, Feb 24, 2011 at 8:20 PM, slavix <mikerin.sl...@gmail.com> wrote:
>>
>> Hello,
>> Can someone please tell what is wrong with this syntax. For some
>> reason it does not work..
>>
>> - content_for?(:sidebar) do
>>  .sidebar= yield(:sidebar)
>>
>
> Where is the rest of the code?
> If that .sidebar is inside your content_for block, then nothing is going to
> happen... it's never actually being yielded in the view.
>
>>
>> --
>> 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.
>>
>
> --
> 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.
>

-- 
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