Hi
I'm an haml n00b, and have spent like 2 hours working on this problem.
The layout.haml works perfectly. But the content in the "yield" does
not. Instead of </form>, it displays </form> in the browser. Any
idea?
Thank you!
== layout.haml ==
#content= yield
== view.haml ==
%form{:action=>"/u/post", :method=>"post"}
== application.rb ==
get '/view' do
haml :view
end
== on browser: http://localhost:8080/view ==
<div id='content'>
<form action='/u/post' method='post'>
</form>
</div>
--
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.