validate prefilled champs when editing brouillon
This commit is contained in:
parent
79ef48cafb
commit
3939644030
3 changed files with 7 additions and 1 deletions
|
@ -148,7 +148,7 @@ module Users
|
|||
|
||||
def brouillon
|
||||
@dossier = dossier_with_champs
|
||||
# TODO: SEB show validation errors
|
||||
@dossier.valid?(context: :prefilling)
|
||||
|
||||
# TODO: remove when the champs are unifed
|
||||
if !@dossier.autorisation_donnees
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue