From 5885b374ed06d089fce44815b9f5b73ed6404426 Mon Sep 17 00:00:00 2001 From: Guillaume MORET <90462045+AyakorK@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:23:08 +0200 Subject: [PATCH] fix: Add missing data_authorization_handler form (#145) --- app/views/data_authorization/_form.html.erb | 51 ++++ config/locales/en.yml | 18 ++ config/locales/fr.yml | 18 ++ spec/system/data_authorization_spec.rb | 269 ++++++++++++++++++++ 4 files changed, 356 insertions(+) create mode 100644 app/views/data_authorization/_form.html.erb create mode 100644 spec/system/data_authorization_spec.rb diff --git a/app/views/data_authorization/_form.html.erb b/app/views/data_authorization/_form.html.erb new file mode 100644 index 00000000..d98c7010 --- /dev/null +++ b/app/views/data_authorization/_form.html.erb @@ -0,0 +1,51 @@ +<%= form.hidden_field :handler_name %> +
<%= I18n.t('decidim.authorization_handlers.data_authorization_handler.help_text.lastname') %>
+<%= I18n.t('decidim.authorization_handlers.data_authorization_handler.help_text.firstname') %>
+<%= I18n.t('decidim.authorization_handlers.data_authorization_handler.help_text.postal_code') %>
+<%= I18n.t('decidim.authorization_handlers.data_authorization_handler.help_text.city') %>
+