Skip to content

Commit

Permalink
Fix missing or bad closing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Feb 1, 2023
1 parent 8f56183 commit faaaeb5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
6 changes: 2 additions & 4 deletions backend/app/views/spree/admin/stock_movements/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,15 @@
</colgroup>
<thead>
<tr data-hook="admin_stock_movements_index_headers">
<th><%= Spree::StockMovement.human_attribute_name(:variant) %>
<th><%= Spree::StockMovement.human_attribute_name(:variant) %></th>
<th><%= Spree::StockMovement.human_attribute_name(:quantity) %></th>
<th><%= Spree::StockMovement.human_attribute_name(:originated_by) %></th>
</tr>
</thead>
<tbody>
<% @stock_movements.each do |stock_movement|%>
<tr id="<%= spree_dom_id stock_movement %>" data-hook="admin_stock_movements_index_rows">
<td>
<%= display_variant(stock_movement) %>
</td>
<td><%= display_variant(stock_movement) %></td>
<td><%= stock_movement.quantity %></td>
<td><%= pretty_originator(stock_movement) %></td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<th>2/3 column<br>(main content area)</th>
<th>1/3 column<br>(secondary content area)</th>
<th>1/2 column<br>(main content, small screen)</th>
<th>1 column<br>(main & secondary content, small screen)
<th>1 column<br>(main &amp; secondary content, small screen)</th>
</tr>
<tr>
<td>text field - 'normal'</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
type = $(this).data('flashType');

if (!$('.flash.' + type).is('*')) {
flash = $("<div class='flash'>")
flash = $("<div class='flash'></div>")
.text(type)
.addClass(type)
.appendTo('.js-flash-wrapper')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
<dd>List</dd>
<dt>Term</dt>
<dd>Description</dd>
</ul>
</dl>
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<% if can?(:destroy, tax_category) %>
<%= link_to_delete tax_category, no_text: true %>
<% end %>
</td>
</tr>
<% end %>
</tbody>
Expand Down
1 change: 1 addition & 0 deletions backend/app/views/spree/admin/users/items.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
</tr>
<% end %>
<% end %>
</tbody>
</table>
<% else %>
<div class="no-objects-found">
Expand Down

0 comments on commit faaaeb5

Please sign in to comment.