%tr#event_row.event_row{:id => event.id}
	%td{:style => "width:130px;"}
		.QI_background_resize{:style => "width:120px;height:120px;"+("background-image: url('#{event.image_file.file.large.medium.small.thumb.url}');"if event.image_file).to_s }

	%td=Event::CATEGORIES[event.category_id]
	%td{:style => "width:200px"}= l event.start_at if event.start_at?
	%td=event.title


	%td.actions
		= link_to i(:trash_stroke, :blue), [:admin, event], :confirm => 'Voulez-vous vraiment supprimer ce dossier, et tout ces articles ?', :method => :delete, :remote => true
		
		= link_to i(:pen_alt_fill, :blue), edit_admin_event_path(event), :remote => true
