search for: open_tag

Displaying 2 results from an estimated 2 matches for "open_tag".

Did you mean: open_flag
2008 Sep 30
0
Tabbed Menus - link_to_unless_current
...Contacts", "/contact" ], ["Documents", "/document"], ["My Account", "/account" ], ["Help", "/help" ]].each do |label, controller| %> <%= open_tag "li" %> <%= link_to_unless_current(label, {:controller => controller} ) { |label, controller| content_tag("span", label, :class => "current") } %> </l...
2009 Apr 14
6
About haml and ruby on rail
...now it shows following errors I have kept code of show.html.erb and show.html.haml in attachment. please help me I am not getting what exactly the error is? compile error D:/aflatune/app/views/tracks/show.html.haml:33: syntax error, unexpected tCONSTANT, expecting '')'' _hamlout.open_tag("a", false, false, false, false, {"class"=>"ActionLink"}, false, false, nil, nil, :href => "#", :onclick => "if(confirm("Are you sure you want to delete this track and associated media file?")) showPane(parseLocation("#{track_path...