Browse files

don't show other tabs until event is created

  • Loading branch information...
mikevalstar committed Jan 11, 2013
1 parent a0b9099 commit 40a6c8ee408a1cb245f3cb4c608f5574f2f04357
Showing with 2 additions and 0 deletions.
  1. +2 −0 template/manage/events_item.tpl
@@ -17,9 +17,11 @@
<div class="clearfix"></div>
<ul class="nav nav-tabs">
<li class="active"><a href="#event" data-toggle="tab">Event</a></li>
+ {if !$event->isnew()}
<li><a href="#participants" data-toggle="tab">Participants</a></li>
<li><a href="#games" data-toggle="tab">Games</a></li>
<li><a href="#food" data-toggle="tab">Food</a></li>
+ {/if}
<div class="tab-content">
<div class="tab-pane active" id="event">

0 comments on commit 40a6c8e

Please sign in to comment.