Event not submitted warning was not showing when there's an error adding an event...
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 17 Jan 2017 18:30:21 +0000 (13:30 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 17 Jan 2017 18:30:21 +0000 (13:30 -0500)
views/admin/events/edit.html

index 0ee0016..8dfa4a2 100644 (file)
@@ -25,7 +25,7 @@
         {if $eventAddError}<span class="glm-error glm-flash-updated">Event Add Error</span>{/if}
     </h2>
   
-  {if $eventUpdateError}
+  {if $eventUpdateError || $eventAddError}
     <h1 class="glm-error">NOTICE: Your event has not yet been submitted.<br>Please select the tabs indicating a problem, correct the indicated fields and resubmit.</h1>
   {else}
       {if !$haveTimes}