Sha256: 2017708ea8e3bd39ce10304615b3f7ec50fdd2c9c590d9cb3b83452f1cdf5381

Contents?: true

Size: 475 Bytes

Versions: 7

Compression:

Stored size: 475 Bytes

Contents

<h1>Accounts</h1>

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Balance</th>    
      <th></th>    
      <th></th>    
    </tr>  
  </thead>
  <% @accounts.each do |a| %>
    <tr>
      <td><%= a.name %></td>
      <td><%= a.balance %></td>
      <td><%= link_to "Deposit", account_deposit_form_path(a) %></td>
      <td><%= link_to "Withdraw", account_withdraw_form_path(a) %></td>
    </tr>
  <% end %>
</table>

<%= link_to "Transfer", new_transfer_path %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
command_model-2.1.1 examples/bank/app/views/accounts/index.html.erb
command_model-2.1.0 examples/bank/app/views/accounts/index.html.erb
command_model-2.0.1 examples/bank/app/views/accounts/index.html.erb
command_model-2.0.0 examples/bank/app/views/accounts/index.html.erb
command_model-1.3.0 examples/bank/app/views/accounts/index.html.erb
command_model-1.2.0 examples/bank/app/views/accounts/index.html.erb
command_model-1.1.0 examples/bank/app/views/accounts/index.html.erb