From 2093083d29a0757274ade5a036f6fa6c6bcd9bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 12 Oct 2023 21:05:41 +0200 Subject: [PATCH] Remove
tags in document fields We aren't using
tags on any forms containing fields to add/edit documents, so using this in the dashboard actions form and the legislation process form was inconsistent. --- app/views/admin/dashboard/actions/_form.html.erb | 3 --- app/views/admin/legislation/processes/_form.html.erb | 12 ------------ 2 files changed, 15 deletions(-) diff --git a/app/views/admin/dashboard/actions/_form.html.erb b/app/views/admin/dashboard/actions/_form.html.erb index d98bd9501..f479f6ad7 100644 --- a/app/views/admin/dashboard/actions/_form.html.erb +++ b/app/views/admin/dashboard/actions/_form.html.erb @@ -65,15 +65,12 @@ <% if feature?(:allow_attached_documents) %>
-
<%= render "documents/nested_documents", f: f %> -
<% end %>
diff --git a/app/views/admin/legislation/processes/_form.html.erb b/app/views/admin/legislation/processes/_form.html.erb index 3094d4ccd..0fe41f941 100644 --- a/app/views/admin/legislation/processes/_form.html.erb +++ b/app/views/admin/legislation/processes/_form.html.erb @@ -113,18 +113,10 @@ <%= render "documents/nested_documents", f: f %>
-
-
-
-
<%= render "images/nested_image", f: f %>
-
-
-
-

<%= t("admin.legislation.processes.form.banner_title") %>

@@ -154,10 +146,6 @@ - -
-
-