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:
@@ -9,7 +9,7 @@
|
|||||||
</h2>
|
</h2>
|
||||||
<p class="confirmed">
|
<p class="confirmed">
|
||||||
<%= t("budgets.ballots.show.voted_info") %>
|
<%= t("budgets.ballots.show.voted_info") %>
|
||||||
<p>
|
</p>
|
||||||
<p><%= t("budgets.ballots.show.voted_info_2") %></p>
|
<p><%= t("budgets.ballots.show.voted_info_2") %></p>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
</header>
|
</header>
|
||||||
<p><%= t("cookies_management.description") %><p>
|
<p><%= t("cookies_management.description") %></p>
|
||||||
<% if more_info_link.present? %>
|
<% if more_info_link.present? %>
|
||||||
<p><%= link_to t("cookies_consent.more_info_link"), more_info_link, target: "_blank" %></p>
|
<p><%= link_to t("cookies_consent.more_info_link"), more_info_link, target: "_blank" %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<dl>
|
<dl>
|
||||||
<% targets.sort.each do |target| %>
|
<% targets.sort.each do |target| %>
|
||||||
<dt><%= target.code %><dt>
|
<dt><%= target.code %></dt>
|
||||||
<dd><%= target.long_title %><dd>
|
<dd><%= target.long_title %></dd>
|
||||||
<% end %>
|
<% end %>
|
||||||
</dl>
|
</dl>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
<br>
|
<br>
|
||||||
<%= sanitize(activity.actionable.description) %>
|
<%= sanitize(activity.actionable.description) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</td>
|
||||||
<td class="align-top">
|
<td class="align-top">
|
||||||
<%= activity.user.name %> (<%= activity.user.email %>)
|
<%= activity.user.name %> (<%= activity.user.email %>)
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="callout alert margin">
|
<div class="callout alert margin">
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
<table>
|
</table>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="callout primary">
|
<div class="callout primary">
|
||||||
<%= t("admin.documents.index.no_documents") %>
|
<%= t("admin.documents.index.no_documents") %>
|
||||||
|
|||||||
@@ -69,7 +69,6 @@
|
|||||||
<p><%= t("debates.index.section_footer.help_text_1") %></p>
|
<p><%= t("debates.index.section_footer.help_text_1") %></p>
|
||||||
<p><%= sanitize(t("debates.index.section_footer.help_text_2",
|
<p><%= sanitize(t("debates.index.section_footer.help_text_2",
|
||||||
org: link_to(setting["org_name"], new_user_registration_path))) %></p>
|
org: link_to(setting["org_name"], new_user_registration_path))) %></p>
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
<%= form_for(resource, as: resource_name, url: [resource_name, :password_expired], html: { method: :put }) do |f| %>
|
<%= form_for(resource, as: resource_name, url: [resource_name, :password_expired], html: { method: :put }) do |f| %>
|
||||||
|
|
||||||
<%= f.password_field :current_password %></p>
|
<%= f.password_field :current_password %>
|
||||||
<%= f.password_field :password, label: t("devise.password_expired.new_password") %></p>
|
<%= f.password_field :password, label: t("devise.password_expired.new_password") %>
|
||||||
<%= f.password_field :password_confirmation %></p>
|
<%= f.password_field :password_confirmation %>
|
||||||
|
|
||||||
<p><%= f.submit t("devise.password_expired.change_password") %></p>
|
<p><%= f.submit t("devise.password_expired.change_password") %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
<span id="annotation-link" data-sub-annotation-ids="8">
|
<span id="annotation-link" data-sub-annotation-ids="8">
|
||||||
<%= render "annotation_link", annotation: annotation %>
|
<%= render "annotation_link", annotation: annotation %>
|
||||||
<span>
|
</span>
|
||||||
|
|||||||
@@ -13,14 +13,14 @@
|
|||||||
<%= link_to legislation_process_question_path(@process, @question.next_question_id), class: "quiz-next-link" do %>
|
<%= link_to legislation_process_question_path(@process, @question.next_question_id), class: "quiz-next-link" do %>
|
||||||
<div class="quiz-next">
|
<div class="quiz-next">
|
||||||
<%= t("legislation.questions.show.next_question") %>
|
<%= t("legislation.questions.show.next_question") %>
|
||||||
<span class="icon-angle-right" aria-hidden="true">
|
<span class="icon-angle-right" aria-hidden="true"></span>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% elsif @question.first_question_id %>
|
<% elsif @question.first_question_id %>
|
||||||
<%= link_to legislation_process_question_path(@process, @question.first_question_id), class: "quiz-next-link" do %>
|
<%= link_to legislation_process_question_path(@process, @question.first_question_id), class: "quiz-next-link" do %>
|
||||||
<div class="quiz-next">
|
<div class="quiz-next">
|
||||||
<%= t("legislation.questions.show.first_question") %>
|
<%= t("legislation.questions.show.first_question") %>
|
||||||
<span class="icon-angle-right" aria-hidden="true">
|
<span class="icon-angle-right" aria-hidden="true"></span>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<%= render "/budgets/investments/investment_detail", investment: @investment, preview: true %>
|
<%= render "/budgets/investments/investment_detail", investment: @investment, preview: true %>
|
||||||
</hr>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user