Allow to delete contests
This commit is contained in:
@@ -31,4 +31,7 @@
|
||||
.form-text = t("activerecord.attributes.contest.allow_registration_description")
|
||||
.row.mt-4
|
||||
.col
|
||||
= form.submit t("helpers.buttons.update"), class: "btn btn-primary"
|
||||
= form.submit t("helpers.buttons.update"), class: "btn btn-primary"
|
||||
button.btn.btn-danger.ms-3 type="button" id="contest_deletion_modal_button"
|
||||
= t("contests.modals.destroy.button")
|
||||
= render "modal", path: contest_path(@contest), modal_title: t("contests.modals.destroy.title", contest: @contest.name), modal_text: t("contests.modals.destroy.text", contest: @contest.name), modal_id: "contest_deletion_modal"
|
||||
Reference in New Issue
Block a user