diff --git a/app/views/transactions/index.html.erb b/app/views/transactions/index.html.erb index 5deca3c..e4a56d5 100644 --- a/app/views/transactions/index.html.erb +++ b/app/views/transactions/index.html.erb @@ -1,3 +1,27 @@ + + + + + + + + + -Oh cool a list of transactions + + <% @transactions.each do |transaction| %> + + + + + + + <% end %> + +
iddebtorcreditoramount
<%= transaction.id %><%= transaction.debtor.name %><%= transaction.creditor.name %><%= transaction.amount%>
+