From d268fdf74af2ee82cc669a71a47266da793447f1 Mon Sep 17 00:00:00 2001 From: Eduardo Martinez Echevarria Date: Tue, 26 Nov 2024 19:19:16 +0100 Subject: [PATCH] Update styles --- .../comment_form/extended_comment_as.erb | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/app/cells/decidim/comments/comment_form/extended_comment_as.erb b/app/cells/decidim/comments/comment_form/extended_comment_as.erb index 947c2794..78d13d4e 100644 --- a/app/cells/decidim/comments/comment_form/extended_comment_as.erb +++ b/app/cells/decidim/comments/comment_form/extended_comment_as.erb @@ -1,19 +1,7 @@ <%= decidim_original_comment_as_for(form) %> <% if attachments_allowed? %> - <%# <% if !reply? %1> %> - <%# <%= form.attachment( %> - <%# :add_documents, %> - <%# multiple: true, %> - <%# modal_id: "#{form_id}-documents", %> - <%# # label: t("decidim.proposals.collaborative_drafts.new.add_file"), %> - <%# # button_label: t("decidim.proposals.collaborative_drafts.new.add_file"), %> - <%# # button_edit_label: t("decidim.proposals.collaborative_drafts.new.edit_file"), %> - <%# button_class: "button button__lg button__transparent-secondary w-full", %> - <%# # help_text: t("attachment_legend", scope: "decidim.proposals.collaborative_drafts.edit"), %> - <%# help_i18n_scope: "decidim.forms.file_help.file" %> - <%# ) %1> %> - <%# <% else %1> %> +
<%= form.file_field(:add_documents, multiple:true, direct_upload: true) %> - <%# <% end %1> %> +
<% end %>