Thanks!
On Feb 2, 9:10 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> .centered== #{f.submit "Update"} or #{button_to "Cancel",
> lesson_path(@lesson)}
>
> - Nathan
>
> Andrew Shindyapin wrote:
> > So in my edit view, I want to do the following:
>
> > <div class="centered">
> > <%= f.submit "Update" %> or <%= button_to "Cancel",
> > controller_path(@controller) %>
> > </div>
>
> > In haml, I have
>
> > .centered
> > = f.submit "Update"
> > or
> > = button_to "Cancel", lesson_path(@lesson)
>
> > which results in three lines, not one. Is there a way to do this
> > inline?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---