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:
@@ -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 %>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user