= 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| 
	%table{:style => "width:100%"}
		%tr
			%td{:style => "width:120px"} Nom :
			%td= form.text_field :name, :style => "width:90%"
		%tr
			%td{:style => "vertical-align:top;"} Description :
			%td= form.text_area :description, :style => "max-width:90%;width:90%;height:90px;"
		%tr
			%td{:style => "vertical-align:top;"} Page d'accueil ? :
			%td= form.check_box :home, :onclick => "$('.submit_tr').show();"
		
	.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"
				
	