fix user path and add test full user path

This commit is contained in:
Tanguy PATTE 2015-09-24 10:30:29 +02:00
parent 5772b99d42
commit 6eeac88c95
3 changed files with 65 additions and 3 deletions

View file

@ -5,7 +5,7 @@
%div.row
= render partial: '/dossiers/infos_entreprise'
%br
= form_for @dossier, url: { controller: '/users/dossiers', action: :create } do |f|
= form_for @dossier, url: { controller: '/users/dossiers', action: :update } do |f|
%label{ style:'font-weight:normal' }
= f.check_box :autorisation_donnees
J'autorise les organismes publics à vérifier les informations de mon entreprise auprès des administrations concernées. Ces informations resteront strictement confidentielles.

View file

@ -1,5 +1,4 @@
%h2
='Récapitulatif'
%h2#recap_dossier Récapitulatif
%div{style: 'text-align:center'}
-if request.referer != nil