only output cost if not free
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 5 Apr 2016 21:15:17 +0000 (17:15 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 5 Apr 2016 21:15:17 +0000 (17:15 -0400)
views/front/events/detail.html

index 8cf7067..7640db9 100644 (file)
@@ -40,7 +40,7 @@
                             {$event.locations.address}<br>
                             {$event.locations.city.name}, {$event.locations.state.value} {$event.locations.zip}
                         </div>
-                        {if $event.cost}
+                        {if $event.cost && !$event.free.value}
                         <div class="small-12 column"><strong>Cost</strong><br> {$event.cost}</div>
                         {/if}
                         {if $event.free.value}