HAML Form For Rails
问题 I'm currently trying to convert an ERB layout to HAML. This is the error I keep receiving: index.html.haml:18: syntax error, unexpected ')' ));}\n #{_hamlout.format_... Here is the HAML page: .row-fluid .span6 %h2 Todo List .span6 %h2{:style => "text-align:right;"} <script>document.write(today)</script> %hr.divider .row-fluid .span6 %h2.small_head New Task = render :partial => 'layouts/form_errors', :locals => {:object => @list} .form = form_for :list, :url => {:controller => 'lists', :action