style(autosave): retry button as dsfr
This commit is contained in:
parent
ac43d78b08
commit
11dd1b7d76
2 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@
|
|||
= t('.en_construction.error')
|
||||
- else
|
||||
= t('.brouillon.error')
|
||||
%button.button.small.autosave-retry{ type: :button, data: { action: 'autosave-status#onClickRetryButton', autosave_status_target: 'retryButton' } }
|
||||
%span.autosave-retry-label réessayer
|
||||
%span.autosave-retrying-label enregistrement en cours…
|
||||
%button.fr-btn.fr-btn--tertiary.fr-btn--sm.autosave-retry{ type: :button, data: { action: 'autosave-status#onClickRetryButton', autosave_status_target: 'retryButton' } }
|
||||
%span.autosave-retry-label Réessayer
|
||||
%span.autosave-retrying-label Enregistrement en cours…
|
||||
|
||||
|
|
|
@ -490,7 +490,7 @@ describe 'The user' do
|
|||
|
||||
# Test that retrying after a failure works
|
||||
allow_any_instance_of(Users::DossiersController).to receive(:update).and_call_original
|
||||
click_on 'réessayer'
|
||||
click_on 'Réessayer'
|
||||
wait_for_autosave
|
||||
|
||||
visit current_path
|
||||
|
|
Loading…
Reference in a new issue