#sheet_year.sheet_block{:id => sheet_year.id}
	.links{:style => "float:right"}
		= link_to image_tag("/images/style/quartz-admin/delete.png"), :url => sheet_year, :method => :delete, :remote => true, :confirm => "Voulez-vous vraiment supprimer l'année "+sheet_year.year.to_s+" de cette fiche ?" if has_permission?('adherent.edit')
		= link_to image_tag("/images/style/quartz-admin/edit.png"), :url => edit_sheet_year_path(sheet_year), :method => :get, :remote => true if has_permission?('adherent.edit')
	%h3=sheet_year.year
	%p
		Type d'adhésion :
		=SheetYear::JOIN_TYPE[sheet_year.join_type]
		="(bienfaiteur)" if sheet_year.benefactor
	
	-if sheet_year.gift_year
		%p 
			%strong Année d'adhésion offert	
	-else
		%p 
			Date de paiement : 
			=l sheet_year.paid_at if sheet_year.paid_at
		%p
			Montant :
			=number_to_currency sheet_year.amount if sheet_year.amount
	
		%p 
			Type de paiement : 
			=SheetYear::PAYMENT_TYPE[sheet_year.payment_type] if sheet_year.payment_type
		
		-if sheet_year.payment_type == 1
			%p
				Banque :
				=sheet_year.bank
			
			%p
				Numéro de chèque :
				=sheet_year.check_number