agenda-libre-ruby/app/views/lugs/show.html.haml

29 lines
807 B
Plaintext
Raw Normal View History

2014-07-27 01:50:22 +02:00
= render 'search'
%dl
%dt= Lug.human_attribute_name :name
%dd
%h3
= image_tag @lug.url+'/favicon.ico', alt: '', class: :favicon
= @lug.name
- if @lug.city.present?
%dt= Lug.human_attribute_name :city
%dd= @lug.city
- if @lug.department.present?
%dt= Lug.human_attribute_name :department
%dd= @lug.department
- if @lug.related_region.present?
%dt= Lug.human_attribute_name :related_region
%dd= @lug.related_region
- if @lug.url.present?
%dt= Lug.human_attribute_name :url
%dd= link_to @lug.url, @lug.url
2014-07-27 01:50:22 +02:00
%iframe(src="#{@lug.url}" width='1000' height='400' frameborder='none'
allowTransparency='true')
%nav
= link_to lugs_path(q: params[:q], page: params[:page]), class: :back do
2014-07-27 01:50:22 +02:00
%em.fa.fa-arrow-left
= Lug.model_name.human.pluralize