feat(api): add some turbo when possible
This commit is contained in:
parent
9a0dd45385
commit
3ded9a2a57
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
[t('users.profil.show.profile'), profil_path],
|
||||
[t('api_tokens.nom.new_token')]] }
|
||||
|
||||
.fr-container.fr-mt-2w
|
||||
.fr-container.fr-mt-2w{ 'data-turbo': 'true' }
|
||||
%h1 Privilèges du jeton « #{@name} »
|
||||
= form_with url: securite_api_tokens_path,
|
||||
method: :get,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
[t('users.profil.show.profile'), profil_path],
|
||||
[t('api_tokens.nom.new_token')]] }
|
||||
|
||||
.fr-container.fr-mt-2w
|
||||
.fr-container.fr-mt-2w{ 'data-turbo': 'true' }
|
||||
%h1 Votre jeton est prêt
|
||||
|
||||
%p
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
[t('users.profil.show.profile'), profil_path],
|
||||
[t('api_tokens.nom.new_token')]] }
|
||||
|
||||
.fr-container.fr-mt-2w
|
||||
.fr-container.fr-mt-2w{ 'data-turbo': 'true' }
|
||||
%h1= t('.new_token')
|
||||
= form_with url: autorisations_api_tokens_path, method: :get, html: { class: 'fr-mt-2w' } do |f|
|
||||
.fr-input-group
|
||||
|
|
Loading…
Reference in a new issue