Use HTML beautifier to indent ERB files

We had inconsistent indentation in many places. Now we're fixing them
and adding a linter to our CI so we don't accidentally introduce
inconsistent indentations again.
This commit is contained in:
Javi Martín
2025-02-20 18:41:46 +01:00
parent b4b33926cf
commit b51aa31e6a
66 changed files with 574 additions and 558 deletions

View File

@@ -2,12 +2,12 @@
<p id="price">
<strong>
<%= t("valuation.budget_investments.show.price") %>
(<%= t("valuation.budget_investments.show.currency") %>):
(<%= t("valuation.budget_investments.show.currency") %>):
</strong>
<% if @investment.price.present? %>
<%= @investment.price %>
<% else %>
<%= t("valuation.budget_investments.show.undefined") %>
<%= t("valuation.budget_investments.show.undefined") %>
<% end %>
</p>
@@ -20,7 +20,7 @@
<% if @investment.price_first_year.present? %>
<%= @investment.price_first_year %>
<% else %>
<%= t("valuation.budget_investments.show.undefined") %>
<%= t("valuation.budget_investments.show.undefined") %>
<% end %>
</p>
<% end %>

View File

@@ -6,21 +6,21 @@
<fieldset class="fieldset">
<legend><%= t("valuation.budget_investments.edit.feasibility") %></legend>
<div class="small-4 column">
<span class="radio">
<%= f.radio_button :feasibility, "undecided" %>
</span>
<span class="radio">
<%= f.radio_button :feasibility, "undecided" %>
</span>
</div>
<div class="small-4 column">
<span class="radio">
<%= f.radio_button :feasibility, "feasible" %>
</span>
<span class="radio">
<%= f.radio_button :feasibility, "feasible" %>
</span>
</div>
<div class="small-4 column">
<span class="radio">
<%= f.radio_button :feasibility, "unfeasible" %>
</span>
<span class="radio">
<%= f.radio_button :feasibility, "unfeasible" %>
</span>
</div>
</fieldset>
</div>