= semantic_form_for @image_file, :url => admin_image_file_path(:id => @image_file.id, :album_id => params[:album_id], :manager => params[:manager], :multiple => params[:multiple]), :remote => true do |form| 

  .content
    =form.inputs do
      = form.input :name, :label => "Nom :"
      = form.input :photograph, :label => "Crédits :"
      = form.input :description, :label => "Description :"
    
  
  .actions.submit_tr
    =#link_to "Annuler", admin_image_file_path(:id => @image_file.id, :manager => params[:manager], :multiple => params[:multiple]), :remote => true, :class => "button"
    =form.submit "Sauvegarder", :class => "btn btn-primary"
        
  