diff options
author | Raphael Kabo <raphaelkabo@gmail.com> | 2022-01-17 10:41:07 +0000 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@gmail.com> | 2022-01-17 10:41:07 +0000 |
commit | 98cbc016ddf18a4f198330ef090b316e50950724 (patch) | |
tree | 44b33d02b2088bc4486681c223a76c17e95811b5 /views/partials/editeventgroupmodal.handlebars | |
parent | e135d9c68932ca77bfb9bc662e3798700d4250d2 (diff) |
Set up localStorage functionality and frontend
Diffstat (limited to 'views/partials/editeventgroupmodal.handlebars')
-rw-r--r-- | views/partials/editeventgroupmodal.handlebars | 14 |
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">×</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> |