summaryrefslogtreecommitdiff
path: root/views/partials/editeventmodal.handlebars
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials/editeventmodal.handlebars')
-rw-r--r--views/partials/editeventmodal.handlebars11
1 files changed, 10 insertions, 1 deletions
diff --git a/views/partials/editeventmodal.handlebars b/views/partials/editeventmodal.handlebars
index a1ccd83..b4b0ea6 100644
--- a/views/partials/editeventmodal.handlebars
+++ b/views/partials/editeventmodal.handlebars
@@ -1,5 +1,5 @@
<div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="editModalLabel" aria-hidden="true">
- <div class="modal-dialog" role="document">
+ <div class="modal-dialog modal-xl modal-dialog-scrollable" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="editModalLabel">Edit '{{eventData.name}}'</h5>
@@ -133,6 +133,15 @@
placeholder="Enter a number." data-validation="number" data-validation-optional="true"
value="{{eventData.maxAttendees}}">
</div>
+
+ <div class="form-group">
+ <div class="card border-danger mb-3">
+ <div class="card-header text-danger">Delete this event</div>
+ <div class="card-body text-danger">
+ <button type="button" id="deleteEvent" class="btn btn-danger" data-toggle="modal" data-target="#deleteModal" data-event-id="{{eventData.id}}"><i class="fas fa-trash"></i> Delete</button>
+ </div>
+ </div>
+ </div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>