demarches-normaliennes/app/views/fields/geopoint_field/_show.html.haml

3 lines
176 B
Text
Raw Normal View History

- if field.present?
= link_to field.data.join(", "), "https://www.geoportail.gouv.fr/carte?c=#{field.lng},#{field.lat}&z=17&permalink=yes", target: '_blank', rel: 'noopener'