Skip to content

Commit

Permalink
refactor: rubocop corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef-Rousset committed Dec 3, 2024
1 parent 8032b8f commit d8f6694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion decidim-core/app/helpers/decidim/modal_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def decidim_modal(opts = {}, &)
type: :button,
data: { dialog_close: opts[:id] || "", dialog_closable: "" },
"aria-label": t("close_modal", scope: "decidim.shared.confirm_modal"),
"aria-describedby": opts[:id] || "",
"aria-describedby": opts[:id] || ""
)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<div class="form__wrapper">
<div>
<p><%= t('.required_fields') %></p>
<p><%= t(".required_fields") %></p>
</div>
<%= f.email_field :email, autocomplete: "email", placeholder: t("placeholder_email", scope: "decidim.devise.shared"), required: true %>

Expand Down

0 comments on commit d8f6694

Please sign in to comment.