Fix HTML closing tags

In some places, we accidentally opened the same tag twice instead of
closing it, while in some other places we closed a tag without opening
it in the first place.

We've detected these issues thanks to the HTML Beautifier gem, which
we're about to start using for indentation purposes.
This commit is contained in:
Javi Martín
2025-02-20 16:55:13 +01:00
parent 291620abf7
commit b4b33926cf
11 changed files with 13 additions and 13 deletions

View File

@@ -9,7 +9,7 @@
</h2>
<p class="confirmed">
<%= t("budgets.ballots.show.voted_info") %>
<p>
</p>
<p><%= t("budgets.ballots.show.voted_info_2") %></p>
</div>
</header>

View File

@@ -9,7 +9,7 @@
<span aria-hidden="true">&times;</span>
</button>
</header>
<p><%= t("cookies_management.description") %><p>
<p><%= t("cookies_management.description") %></p>
<% if more_info_link.present? %>
<p><%= link_to t("cookies_consent.more_info_link"), more_info_link, target: "_blank" %></p>
<% end %>

View File

@@ -17,8 +17,8 @@
<% else %>
<dl>
<% targets.sort.each do |target| %>
<dt><%= target.code %><dt>
<dd><%= target.long_title %><dd>
<dt><%= target.code %></dt>
<dd><%= target.long_title %></dd>
<% end %>
</dl>
<% end %>