pass block type to tile partial

pull/914/head
Gustavo Santos Ferreira 6 years ago
parent 4a941816dd
commit 71f075734a
  1. 2
      apps/block_scout_web/lib/block_scout_web/templates/address_validation/index.html.eex

@ -108,7 +108,7 @@
<h2 class="card-title"><%=gettext("Blocks Validated")%></h2>
<span data-selector="validations-list">
<%= for block <- @blocks do %>
<%= render BlockScoutWeb.BlockView, "_tile.html", block: block %>
<%= render BlockScoutWeb.BlockView, "_tile.html", block: block, block_type: BlockScoutWeb.BlockView.block_type(block)%>
<% end %>
</span>
<div>

Loading…
Cancel
Save