Displaying 2 results from an estimated 2 matches for "actionlink".
Did you mean:
actionline
2009 Apr 14
6
About haml and ruby on rail
...aml 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}"),true,false,true,"delete");return
false;" );
^ D:/aflatune/a...
2007 Jul 23
1
How to do link_to with query parameter AND css class
Folks,
I''ve been trying to get a number of variations of the following line
of template code to work:
<%= link_to ''Show contact details'', :controller => ''people'', :action
=> ''show'', :class => ''actionLink'', :id => person %>
I''ve tied putting curlies around the controller and action as well as
the class, but I haven''t got it to work. I''ve found some variations
that will render the css class, but not the query parameter.
Thanks,
Scott
--~--~---------~--~-...