16 lines
584 B
Plaintext
16 lines
584 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 Participant</h1>
|
|
|
|
<%= render 'form', participant: @participant %>
|
|
|
|
<div class="mt-3 d-flex justify-content-between">
|
|
<%= link_to 'Show', @participant, class: "btn btn-info" %>
|
|
<%= link_to 'Back to List', participants_path, class: "btn btn-secondary" %>
|
|
<%= link_to 'Delete', @participant, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|