It would be useful if you gave a sample of the HTML output you expect and
the output you're getting.

On Thu, Jan 1, 2009 at 11:11 AM, giuseb <[email protected]> wrote:

>
> Hello,
> I have been using (and thoroughly enjoying) HAML & SASS, and have
> recently upgraded to rails 2.2.2 (from 2.1.x)
>
> Since then, however, my tabnavs do not render anymore.
>
> tabnav is one of Paolo Dona's rails-widgets (http://github.com/
> paolodona/rails-widgets/wikis<http://github.com/paolodona/rails-widgets/wikis>),
> which have also served me very well.
>
> I have been able to reproduce the problem by creating a fresh new app
> with a single model and the simplest possible layout. It creates
> tabbed navigation menus on-the-fly in a very convenient way.
>
> If I use an erb template like this:
>
> <%= tabnav :main %>
> <h1>Listing posts</h1>
>
> (where 'main' is the name of the navigation menu, defined elsewhere)
> everything works well, but if I replace it with the haml counterpart:
>
> =tabnav :main
> %h1 Listing posts
>
> Then I only get the h1 tag, while the tabbed navigation bar is simply
> not there. Again, this seems to be rails 2.2 specific. In fact, if I
> change environment.rb so that it points to rails 2.1.0 then everything
> works again.
>
> Has anyone else encountered this problem yet?
>
> Thanks in advance!
> Giuseppe
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
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