21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-29 21:55:06 +02:00
chexpire/app/views/checks/edit.html.erb
2018-05-30 18:16:18 +02:00

17 lines
451 B
Plaintext

<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>