13 lines
653 B
Plaintext
13 lines
653 B
Plaintext
#sheet_show.edit
|
|
.links
|
|
=link_to i(:info), [:admin, @sheet], :class => "button", :remote => true, :confirm => "Attention, les changements éventuellements apportés ne seront pas sauvegardés."
|
|
= link_to i(:times), "#",:class => "button", :onclick => "$('#sheet_show').remove();$('body').css('overflow', 'auto');return false;"
|
|
%input{:type => "submit", :onclick => "$(this).closest('#sheet_show').find('form').submit();return false;", :value => "Sauvegarder", :class => "btn"}
|
|
|
|
.content
|
|
%h1 Modifier une fiche
|
|
|
|
= semantic_form_for [:admin, @sheet], :remote => true do |form|
|
|
|
|
=render :partial => "form", :locals => {:form => form}
|
|
|