feat(api): add some turbo when possible

This commit is contained in:
simon lehericey 2024-01-18 06:53:28 +01:00
parent 9a0dd45385
commit 3ded9a2a57
3 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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

View file

@ -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