From bf4e8499b3eee3fd9195ce8f689cdd85e4221b95 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Fri, 3 Jan 2025 16:35:41 +0100 Subject: [PATCH] feat: add missing h1 on cleaner form edit and update locales --- .../decidim/cleaner/admin/organization_cleaner/edit.html.erb | 4 ++++ config/locales/en.yml | 1 + config/locales/fr.yml | 1 + 3 files changed, 6 insertions(+) diff --git a/app/views/decidim/cleaner/admin/organization_cleaner/edit.html.erb b/app/views/decidim/cleaner/admin/organization_cleaner/edit.html.erb index 840752d..0817afc 100644 --- a/app/views/decidim/cleaner/admin/organization_cleaner/edit.html.erb +++ b/app/views/decidim/cleaner/admin/organization_cleaner/edit.html.erb @@ -1,3 +1,6 @@ +
+

<%= t '.title' %>

+
<%= decidim_form_for(@form, html: { class: "form form-defaults edit_organization_cleaner" }, url:"/admin/organization/cleaner" , method: :put) do |form| %>
@@ -8,3 +11,4 @@
<% end %>
+ diff --git a/config/locales/en.yml b/config/locales/en.yml index fd985c3..0b44f84 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -22,6 +22,7 @@ en: admin: organization_cleaner: edit: + title: Edit Data cleaner update: Update form: admin_log_cleaner_title: Admin log diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 100af2d..570cad8 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -23,6 +23,7 @@ fr: admin: organization_cleaner: edit: + title: Modifier Nettoyeur de données update: Mettre à jour form: admin_log_cleaner_title: Historique d'administration