Merge pull request #1996 from tchak/association-fix
Guard for champ SIRET without etablissement
This commit is contained in:
commit
8fb0241d99
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@
|
|||
= "#{c.libelle} :"
|
||||
%td.rich-text
|
||||
%span{ class: highlight_if_unseen_class(demande_seen_at, c.updated_at) }
|
||||
= render partial: "new_gestionnaire/dossiers/identite_entreprise", locals: { etablissement: c.etablissement }
|
||||
- if c.etablissement.present?
|
||||
= render partial: "new_gestionnaire/dossiers/identite_entreprise", locals: { etablissement: c.etablissement }
|
||||
- else
|
||||
%th.libelle
|
||||
= "#{c.libelle} :"
|
||||
|
|
Loading…
Reference in a new issue