
-if event_content.image_file

	-url =event_content.image_file.file.square.url




-else
	-url ="admin/default_image.png"
-style = "float:left;"


-styleimg=""




%p.img{:style =>style}
	=image_tag(url,:style => styleimg)



%h3 
	Evenement -
	=EventContent::TYPES[event_content.event_type.to_i-1][0]
%h2=event_content.title
%p= event_content.artist
%p= l event_content.start_at
%p
	%strong=event_content.place
	%br
	=event_content.address

%p= simple_format event_content.description
	
	
-if event_content.with_cible?
	

	- if event_content.cible	
		%strong
			Liens vers 
			= event_content.cible.cible_name
	="s'ouvre dans une nouvelle page" if event_content.popup
	
	
%p{:style => "clear:both;"}