<%= gettext "Blocks" %>

<%= for block <- @blocks do %> <% end %>
<%= gettext "Height" %> <%= gettext "Age" %> <%= gettext "Transactions" %> <%= gettext "Gas Used" %>
<%= block.number %> <%= block.age %> <%= block.transactions_count %> <%= block.gas_used %>

<%= gettext "Transactions" %>

<%= for transaction <- @transactions do %> <% end %>
<%= gettext "Hash" %> <%= gettext "Block" %> <%= gettext "Age" %> <%= gettext "Value" %>
<%= transaction.hash %>
<%= transaction.block.number %> <%= transaction.block.timestamp |> Timex.from_now %> <%= transaction.value %>