{$menu} {block_decorator name='box' addClass='ow_std_margin'}{text key='usercredits+packs_description'}{/block_decorator} {if $types}
{text key='usercredits+select_account_type'}:  
{/if}
{if $packs} {block_decorator name='box' iconClass='ow_ic_folder' langLabel='usercredits+pack_list' type='empty'}
{if !empty($packs.0.productId)}{/if} {foreach from=$packs item='pack' name='pack'} {if !empty($pack.productId)}{/if} {/foreach}
{text key='usercredits+credits'} {text key='usercredits+price'}{text key='usercredits+product_id'}
{$currency}{$pack.productId}
{decorator name="button" type="submit" langLabel='admin+save_btn_label' class='ow_ic_save ow_positive'}
{/block_decorator} {else} {block_decorator name='box' addClass='ow_stdmargin'}
{text key='usercredits+no_packs'}
{/block_decorator} {/if} {block_decorator name='box' iconClass='ow_ic_add' langLabel='usercredits+add_pack'} {form name='add-pack-form'}
{label name='credits'}{input name='credits'}
{label name='price'}{input name='price'}
{submit name='add' class='ow_ic_add ow_positive'}
{/form} {/block_decorator}