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/editeventmodal.handlebars | |
| parent | e135d9c68932ca77bfb9bc662e3798700d4250d2 (diff) | |
Set up localStorage functionality and frontend
Diffstat (limited to 'views/partials/editeventmodal.handlebars')
| -rw-r--r-- | views/partials/editeventmodal.handlebars | 11 | 
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>  | 
