add new layout to handle new full screen design
This commit is contained in:
parent
b6cc35df68
commit
6274594c70
15 changed files with 66 additions and 52 deletions
|
@ -92,12 +92,10 @@ module Users
|
|||
def identite
|
||||
@dossier = dossier
|
||||
@user = current_user
|
||||
@hide_description = true
|
||||
end
|
||||
|
||||
def update_identite
|
||||
@dossier = dossier
|
||||
@hide_description = true
|
||||
|
||||
if @dossier.individual.update(individual_params)
|
||||
@dossier.update!(autorisation_donnees: true, identity_updated_at: Time.zone.now)
|
||||
|
@ -112,12 +110,10 @@ module Users
|
|||
|
||||
def siret
|
||||
@dossier = dossier
|
||||
@hide_description = true
|
||||
end
|
||||
|
||||
def update_siret
|
||||
@dossier = dossier
|
||||
@hide_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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue