Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description

[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
This commit is contained in:
Lisa Durand 2023-05-30 09:45:32 +00:00 committed by GitHub
commit a20ec44841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 145 additions and 198 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).