Replaced lost delete buton for event at top of edit.html
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 27 Sep 2016 17:51:42 +0000 (13:51 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 27 Sep 2016 17:51:42 +0000 (13:51 -0400)
views/admin/events/edit.html

index a8aed68..f7d1c55 100644 (file)
   {else}
     <a href="{$thisUrl}?page={$thisPage}&glm_action=list" class="button button-secondary glm-button glm-right">Return to Events List</a>
   {/if}
+  
+  {if $option == 'edit' || $option == 'update'}
+    <a id="deleteEventButton" class="button button-secondary glm-button glm-right">Delete this Event</a>
+    <h2>Edit Event</h2>
+  {else}
+    <h2>Add new Event</h2>
+  {/if}
 
   {if $haveMember && !$lockedToMember}
     <form action="{$thisUrl}?page=glm-members-admin-menu-member" method="post" enctype="multipart/form-data">