#sheet_show.new .links{:style => "float:right;"} = link_to 'Retour', "#", :class => "button", :onclick => "$('#sheet_show').remove();return false;" .content %h1 Nouvelle fiche = semantic_form_for [:admin, @sheet], :remote => true do |form| =render :partial => "form", :locals => {:form => form}