Rodrigo Dominguez
2006-Mar-29 15:57 UTC
[Rails] I can''t get to work css class with link_to_remote function
What am I doing wrong? This is the code <%= link_to_remote "Mi Cuenta", :update => "MainSpace", :url => {:controller => "account", :action => "login"}, :class => "menu_link_superior" %> This is the result <a href="#" onclick="new Ajax.Updater(''MainSpace'', ''/account/login'', {asynchronous:true, evalScripts:true}); return false;">Mi Cuenta</a> but I''m expecting this: <a href="#" class="menu_link_superior" onclick="new Ajax.Updater(''MainSpace'', ''/account/login'', {asynchronous:true, evalScripts:true}); return false;">Mi Cuenta</a> Thank you Rodrigo Dominguez Iplan Networks Datos Personales rdominguez@iplan.com.ar rorra@rorra.com.ar www.iplan.com.ar <http://www.iplan.com.ar/> www.rorra.com.ar <http://www.rorra.com.ar/> 5031-6303 15-5695-6027 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060329/140f95e5/attachment.html