card_url = '/images/patron_cards/';
wallet_cards = [
- 'Card_blank',
+# 'Card_blank',
# '2016_Dog_Card',
# 'Card_Pride',
# '2016_Sasquatch_Card'
<input type="hidden" name="return-to" value="[% return_to %]"/>
<input type="hidden" name="kiosk" value="[% kiosk %]"/>
<ul>
- <!-- if there are no keychain cards, hide the card type selector -->
- [% IF keychain_cards.size > 0 %]
+ [%# if there is only one type of card, hide the selector %]
+ [% IF keychain_cards.size > 0 AND wallet_cards.size > 0 %]
<li>
<label>Choose a card size....</label>
<span class="patron-reg-required">*</span>
</div>
<div class="grid-clear"></div>
</li>
- <li id='keychain-cards' style='display:none'>
- <!--
- <label>Keychain Options</label>
- -->
+ <li id='keychain-cards'
+ [% IF wallet_cards.size > 0 %]style='display:none'[% END %]>
+ [% IF wallet_cards.size > 0 %]
<label>Wallet-Key Combo Options</label>
+ [% ELSE %]
+ <label>Choose a card (Wallet-Key Combo):</label><br/><br/>
+ [% END %]
+
<div class="grid">
[% card_idx = 0;
# limit to 2 cards per line