Skip to content
Extraits de code Groupes Projets
show.html.haml 651 octets
Newer Older
echarp's avatar
echarp a validé
= render 'search'

%dl
  %dt= Lug.human_attribute_name :name
  %dd
    %h3
      = image_tag @lug.url+'/favicon.ico', alt: '', class: :favicon
      = @lug.name
  %dt= Lug.human_attribute_name :city
  %dd= @lug.city
  %dt= Lug.human_attribute_name :department
  %dd= @lug.department
  %dt= Lug.human_attribute_name :related_region
  %dd= @lug.related_region
  %dt= Lug.human_attribute_name :url
  %dd= link_to @lug.url, @lug.url

%iframe(src="#{@lug.url}" width='1000' height='400' frameborder='none'
  allowTransparency='true')

%nav
  = link_to lugs_path(q: params[:q]), class: :back do
    %em.fa.fa-arrow-left
    = Lug.model_name.human.pluralize