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

4 lines
187 B
Text

- if field.data.present?
= link_to Addressable::URI.parse(procedure_lien(field.resource)).path, procedure_lien(field.resource), target: '_blank', rel: 'noopener'
- else
Plus en ligne