Fix rights view RNA champ data

This commit is contained in:
Damien Le Thiec 2022-10-05 09:46:15 +02:00
parent 0d9f02c88d
commit 776736fe5a

View file

@ -1,6 +1,6 @@
- if champ.value.blank?
%p= t('.not_filled')
- else
- elsif profile == 'instructeur'
- if champ.data.blank?
%p= t('.not_found', rna: champ.value)
- else
@ -12,3 +12,5 @@
- ['association_date_creation', 'association_date_declaration', 'association_date_publication'].each do |scope|
- if champ.data[scope].present?
%li #{t("activemodel.attributes.rna_champ.data.#{scope}")} : #{l(champ.data[scope].to_date)}
- else
%p= champ.identifier