refactor(champ): simplify piece justificative champ
This commit is contained in:
parent
2d1370d123
commit
9b12178bbd
3 changed files with 4 additions and 11 deletions
|
@ -1,4 +1,6 @@
|
|||
<%= render_champ(@champ) %>
|
||||
<%= fields_for @champ.input_name, @champ do |form| %>
|
||||
<%= render_to_element("##{@champ.input_group_id}", partial: "shared/dossiers/editable_champs/editable_champ", locals: { champ: @champ, form: form }, outer: true) %>
|
||||
<% end %>
|
||||
|
||||
<% attachment = @champ.piece_justificative_file.attachment %>
|
||||
<% if attachment.virus_scanner.pending? %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue