33 lines
892 B
Plaintext
33 lines
892 B
Plaintext
%h2
|
|
%em.fa.fa-users
|
|
= title t 'lugs.search.title', entity: Lug.model_name.human
|
|
|
|
= 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
|
|
|
|
%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
|
|
%em.fa.fa-arrow-left
|
|
= Lug.model_name.human.pluralize
|