Remove duplicate <main> tags in management views

There can only be one <main> tag in a document, and we've already got a
<main> tag in the management layout.
This commit is contained in:
Javi Martín
2023-09-29 21:36:38 +02:00
parent f0baa080b6
commit f1105140ae
4 changed files with 88 additions and 96 deletions

View File

@@ -1,4 +1,3 @@
<main>
<span class="not-print">
<%= render "admin/shared/budget_investment_search", url: management_budget_investments_path(@budget) %>
</span>
@@ -27,4 +26,3 @@
<%= paginate @investments %>
</div>
</div>
</main>

View File

@@ -1,4 +1,3 @@
<main>
<span class="not-print">
<%= render "admin/shared/budget_investment_search", url: print_management_budget_investments_path(@budget) %>
</span>
@@ -34,4 +33,3 @@
</div>
</div>
</div>
</main>

View File

@@ -1,4 +1,3 @@
<main>
<h2><%= t("management.proposals.index.title") %></h2>
<%= render Admin::SearchComponent.new(label: t("admin.shared.search.label.proposals")) %>
@@ -21,4 +20,3 @@
</div>
</div>
</div>
</main>

View File

@@ -1,4 +1,3 @@
<main>
<div class="row">
<div class="proposals-list">
<a id="print_link" href="javascript:window.print();" class="button warning float-right">
@@ -26,4 +25,3 @@
</div>
</div>
</div>
</main>