update the free part in template
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 5 Apr 2016 21:01:35 +0000 (17:01 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 5 Apr 2016 21:01:35 +0000 (17:01 -0400)
free is an array

views/front/events/detail.html

index 5a32db2..8cf7067 100644 (file)
@@ -43,7 +43,7 @@
                         {if $event.cost}
                         <div class="small-12 column"><strong>Cost</strong><br> {$event.cost}</div>
                         {/if}
-                        {if $event.free}
+                        {if $event.free.value}
                         <div class="small-12 column"><strong>Cost</strong><br> FREE</div>
                         {/if}
                         <div class="small-12 column"><strong>Contact & More Info</strong><br>