.event{:class => input.event_type.to_i} %a{:id => "event_#{input.id}"} -if input.image_file %p.img{:style =>"float:left;"} =image_tag(input.image_file.file.large.medium.small.thumb) %h2=input.title %h3= input.artist %h4 ="Rencontre avec l'artiste" if input.event_type.to_i == 1 = l input.start_at, :format => :human %p{:style => "clear:both;margin-top:20px;"} #map.map{:id => input.id, :style => "width:400px; height:200px;"} %p %strong=input.place %br =simple_format input.address =simple_format input.description %p=link_to "voir la carte en grand", "http://maps.google.com/maps?q="+u(input.address), :target => "blank" -if input.with_cible? - if input.cible =link_to "site de l'artiste", input.cible.cible_url, :target => ("_blank" if input.popup).to_s %p{:style => "clear:both;margin-top:10px;"}