Fix rights view RNA champ data
This commit is contained in:
parent
0d9f02c88d
commit
776736fe5a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue