Test enable_counties for add event form
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 14 Feb 2019 15:12:35 +0000 (10:12 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 14 Feb 2019 15:12:35 +0000 (10:12 -0500)
Need to test if counties are enabled first.

views/front/events/frontAdd.html

index 3fa0322..c9be0eb 100644 (file)
                     </select>
                 </div>
             </div>
+            {if $settings.enable_counties}
             <div class="glm-add-event-form-item">
                 <div class="glm-add-event-form-label">
                     <label>County</label>
                     </select>
                 </div>
             </div>
+            {/if}
             <div class="glm-add-event-form-item">
                 <div style='color:red;' class="glm-add-event-form-label">
                     <label>