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:
@@ -14,21 +14,21 @@
|
||||
<th scope="col" class="small-4"><%= t("admin.shared.actions") %></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @debates.each do |debate| %>
|
||||
<tr id="<%= dom_id(debate) %>">
|
||||
<td class="align-top">
|
||||
<strong><%= debate.title %></strong>
|
||||
</td>
|
||||
<td>
|
||||
<div class="moderation-description">
|
||||
<%= wysiwyg(debate.description) %>
|
||||
</div>
|
||||
</td>
|
||||
<td class="align-top">
|
||||
<%= render Admin::HiddenTableActionsComponent.new(debate) %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% @debates.each do |debate| %>
|
||||
<tr id="<%= dom_id(debate) %>">
|
||||
<td class="align-top">
|
||||
<strong><%= debate.title %></strong>
|
||||
</td>
|
||||
<td>
|
||||
<div class="moderation-description">
|
||||
<%= wysiwyg(debate.description) %>
|
||||
</div>
|
||||
</td>
|
||||
<td class="align-top">
|
||||
<%= render Admin::HiddenTableActionsComponent.new(debate) %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user