From 3ded9a2a5758c1586aa79ca9c6c549feb3f43aa4 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Thu, 18 Jan 2024 06:53:28 +0100 Subject: [PATCH] feat(api): add some turbo when possible --- app/views/api_tokens/autorisations.html.haml | 2 +- app/views/api_tokens/create.html.haml | 2 +- app/views/api_tokens/nom.html.haml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/api_tokens/autorisations.html.haml b/app/views/api_tokens/autorisations.html.haml index 2dd54aec1..cf9a63eab 100644 --- a/app/views/api_tokens/autorisations.html.haml +++ b/app/views/api_tokens/autorisations.html.haml @@ -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, diff --git a/app/views/api_tokens/create.html.haml b/app/views/api_tokens/create.html.haml index 62a51fd86..9e5f4514a 100644 --- a/app/views/api_tokens/create.html.haml +++ b/app/views/api_tokens/create.html.haml @@ -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 diff --git a/app/views/api_tokens/nom.html.haml b/app/views/api_tokens/nom.html.haml index cea1b6428..66f56d679 100644 --- a/app/views/api_tokens/nom.html.haml +++ b/app/views/api_tokens/nom.html.haml @@ -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