obdev/app/views/bank_accounts/edit.html.erb

14 lines
391 B
Plaintext

<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<h1 class="mb-4 text-center">Edit Bank Account</h1>
<%= render 'form', owner: @owner, bank_account: @bank_account %>
<div class="mt-3 text-center">
<%= link_to 'Back', polymorphic_path(@owner), class: "btn btn-secondary" %>
</div>
</div>
</div>
</div>