demarches-normaliennes/app/views/administrateurs/procedures/api_champ_columns.html.haml
2024-12-09 10:47:39 +01:00

16 lines
705 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

= turbo_frame_tag("api-champ-columns") do
%h1#fr-modal-api-champ-columns-h1.fr-modal__title
= t('.title', type_de_champ: t(@type_de_champ.type_champ, scope: 'activerecord.attributes.type_de_champ.type_champs'))
%p.fr-hint-text
= t('.hint_html')
%ul.two-column-list.fr-mb-3w
- @column_labels.each do |label|
%li= label.upcase_first
- if @type_de_champ.type_champ == "siret"
%p.fr-hint-text
Nous affichons aussi aux instructeurs un lien vers lannuaire de lentreprise,
qui comporte davantage dinformations comme des données équivalentes aux extraits KBIS.
= link_to("Voir un exemple", annuaire_link("35600000000048"), **external_link_attributes)