component all the champ
This commit is contained in:
parent
a98aa079e2
commit
a3e8c09e71
121 changed files with 554 additions and 292 deletions
|
@ -0,0 +1,2 @@
|
|||
- user_can_destroy = !@champ.mandatory? || @champ.dossier.brouillon?
|
||||
= render Attachment::EditComponent.new(form: @form, attached_file: @champ.piece_justificative_file, template: @champ.type_de_champ.piece_justificative_template, user_can_destroy: user_can_destroy)
|
Loading…
Add table
Add a link
Reference in a new issue