From 71f075734a61cce8e7076be6816d0308dcf0f122 Mon Sep 17 00:00:00 2001 From: Gustavo Santos Ferreira Date: Thu, 11 Oct 2018 10:32:49 -0300 Subject: [PATCH] pass block type to tile partial --- .../block_scout_web/templates/address_validation/index.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address_validation/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address_validation/index.html.eex index a8c14ef301..5049bf91ff 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address_validation/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address_validation/index.html.eex @@ -108,7 +108,7 @@

<%=gettext("Blocks Validated")%>

<%= 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 %>