Sha256: 88e75a3f7a88878cc40c6597980d38777023b124af1c2eb309f5d8fb73fe5dcb
Contents?: true
Size: 490 Bytes
Versions: 6
Compression:
Stored size: 490 Bytes
Contents
<p><%= link_to "Back to all accounts", root_path %></p> <h1>Deposit in <%= @account.name %>'s Account</h1> <p>Balance: <%= @account.balance %></p> <% if @deposit.errors.present? %> <ul> <% @deposit.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> <% end %> <%= form_for @deposit, :as => :deposit, :url => account_deposit_path(@account) do |f| %> <%= f.label :amount %> <%= f.text_field :amount %> <%= f.submit "Deposit" %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems