Rails 2.2.2 and HAML gem 2.0.6

On 21 Jan, 19:39, Nathan Weizenbaum <[email protected]> wrote:
> What versions of Rails and Haml are you using?
>
> On Wed, Jan 21, 2009 at 5:07 AM, Erik Dahlstrand
> <[email protected]>wrote:
>
>
>
> > Hi,
>
> > I'm new to HAML and I must admit I really love it! My site is now so
> > beautifully indented except for two lines, the form open and close
> > tag. They are not indented at all.
>
> > haml
> > #header
> >  = link_to(image_tag('logotype.png'), root_path)
> >  - form_tag(items_path, :method => 'get', :class => 'inline') do
> >    %fieldset
> >      %ol
> >        %li
> >          = text_field_tag :q, params[:q], :class => 'field
> > width_30em'
> >        %li
> >          = submit_tag t('common.search')
>
> > html
> >      <div id='header'>
>
> >        <a href="/"><img alt="Logotype" src="/images/logotype.png?
> > 1227560205" /></a>
> > <form action="/annonser" class="inline" method="get">
> >          <fieldset>
> >            <ol>
> >              <li>
> >                <input class="field width_30em" id="q" name="q"
> > type="text" />
> >              </li>
> >              <li>
> >                <input name="commit" type="submit" value="Sök" />
>
> >              </li>
> >            </ol>
> >          </fieldset>
> > </form>
> >      </div>
>
> > Any ideas?
>
> > TIA /Erik
>
>
--~--~---------~--~----~------------~-------~--~----~
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