21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-06-02 15:45:06 +02:00
chexpire/app/views/checks/edit.html.erb

17 lines
451 B
Plaintext
Raw Normal View History

<div class="container">
<div class="row justify-content-center">
<div class="col-12 col-lg-10">
<h1>Edit your check</h1>
<%= render "form", check: @check %>
</div>
</div>
<div class="row mt-5 justify-content-center">
<div class="col-12 col-lg-10">
<%= button_to("Delete", check_path(@check), class: "btn btn-danger", method: :delete,
data: { confirm: "Are you sure ?" }) %>
</div>
</div>
</div>