inside the layout On Thu, Feb 24, 2011 at 10:12 PM, Phil Crissman <phil.criss...@gmail.com> wrote: > > Phil > > > On Fri, Feb 25, 2011 at 12:07 AM, slavix <mikerin.sl...@gmail.com> wrote: >> >> .signup and the rest does not get rendered on the page.. not sure why. > > Where do you have: > =yield :sidebar > ? > >> >> On Feb 24, 9:58 pm, Phil Crissman <phil.criss...@gmail.com> wrote: >> > Phil >> > >> > On Thu, Feb 24, 2011 at 11:14 PM, Slava Mikerin >> > <mikerin.sl...@gmail.com>wrote: >> > >> > > inside a view i have: >> > > .. >> > > - content_for :sidebar do >> > > .signup >> > > %h2= 'Placeholder' >> > >> > That looks fine. You don't really need the '=' after the h2 if you're >> > only >> > putting plain text there, but it will still work. >> > >> > What's not working? >> > >> > >> > >> > >> > >> > >> > >> > > 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. >> >> -- >> 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.