summaryrefslogtreecommitdiff
path: root/views/partials/editeventgroupmodal.handlebars
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials/editeventgroupmodal.handlebars')
-rw-r--r--views/partials/editeventgroupmodal.handlebars14
1 files changed, 11 insertions, 3 deletions
diff --git a/views/partials/editeventgroupmodal.handlebars b/views/partials/editeventgroupmodal.handlebars
index a6102fa..3b8f55a 100644
--- a/views/partials/editeventgroupmodal.handlebars
+++ b/views/partials/editeventgroupmodal.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 '{{eventGroupData.name}}'</h5>
@@ -7,8 +7,8 @@
<span aria-hidden="true">&times;</span>
</button>
</div>
- <form id="editEventForm" action="/editeventgroup/{{eventGroupData.id}}/{{eventGroupData.editToken}}" method="post" enctype="multipart/form-data" autocomplete="off">
<div class="modal-body">
+ <form id="editEventForm" action="/editeventgroup/{{eventGroupData.id}}/{{eventGroupData.editToken}}" method="post" enctype="multipart/form-data" autocomplete="off">
<div class="form-group">
<label for="eventGroupName" >Name</label>
<input type="text" class="form-control" id="eventGroupName" name="eventGroupName" placeholder="Make it snappy." value="{{eventGroupData.name}}" data-validation="required length" data-validation-length="3-120">
@@ -34,12 +34,20 @@
</div>
<small class="form-text">Recommended dimensions (w x h): 920px by 300px.</small>
</div>
+ <div class="form-group">
+ <div class="card border-danger mb-3">
+ <div class="card-header text-danger">Delete this event group</div>
+ <div class="card-body text-danger">
+ <button type="button" id="deleteEvent" class="btn btn-danger" data-toggle="modal" data-target="#deleteModal"><i class="fas fa-trash"></i> Delete event group</button>
+ </div>
+ </div>
+ </div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Save changes</button>
- </div>
</form>
+ </div>
</div>
</div>
</div>