{extends_parent}

{block "gopay-img"}
   <span class="img"><img src="{$method.image}" title="{$method.name}" alt="{$method.name}"
                          style="width: auto; height: auto; max-height: 100%; max-width: 100%;"></span>
{/block}

{block "gopay-items-hidden"}
   {if $method@index == 1 and $closed and !$method@last}
      <div class="cart-box-row payment-item thepay-method payments-list" id="gopay-more">
         <div>
            <span class="name">
               {t}Platba online pomocí GoPay{/t}
               <span class="subtitle">{t}Vyber si z možností platby online{/t}</span>
            </span>
            {foreach $object->getAvailableMethods() as $name => $method}
               {if $method@index > 0 and $method@index < 5}
                  <img src="{$method.image}" title="{$method.name}" alt="{$method.name}" class="payment-item-small">
               {/if}
            {/foreach}
         </div>
         <div>
            <a href="" class="thepay-more" title="{t}Zobrazit více platebních metod{/t}">
               <span>{t}vybrat platbu{/t}</span>
            </a>
         </div>
      </div>
   {/if}
{/block}
