create a new layout without procedure for login and use same layout full_screen without description for identite step

This commit is contained in:
Lisa Durand 2023-05-25 15:19:55 +02:00
parent 1c409f0145
commit 31969b290b
15 changed files with 49 additions and 71 deletions

View file

@ -92,10 +92,12 @@ module Users
def identite
@dossier = dossier
@user = current_user
@no_description = true
end
def update_identite
@dossier = dossier
@no_description = true
if @dossier.individual.update(individual_params)
@dossier.update!(autorisation_donnees: true, identity_updated_at: Time.zone.now)
@ -110,10 +112,12 @@ module Users
def siret
@dossier = dossier
@no_description = true
end
def update_siret
@dossier = dossier
@no_description = true
# We use the user as the holder model object for the siret value
# (so that we can restore it on the form in case of error).