[{d3modcfgcheck modid="d3heidelpay"}][{/d3modcfgcheck}]
[{if $mod_d3heidelpay}]

    [{if $oView->d3CheckForMobileTheme() == true}]
        [{if $oView->getPaymentList() && !$oView->isLowOrderPrice()}]
            <div class="payment-row">
                <ul class="form">
                    <li><input type="button" id="paymentNextStepTop" name="userform" class="btn" value="[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}]" onclick="submitActiveForm();return false" /></li>
                </ul>
            </div>
        [{/if}]
    [{else}]
        [{if $oView->getPaymentList() && !$oView->isLowOrderPrice()}]
            <div class="payment-row">
                <ul class="form">
                    <li><input type="button" id="paymentNextStepTop" name="userform" class="btn" value="[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}]" /></li>
                </ul>
            </div>
            [{oxscript add="$('#paymentNextStepTop').click( function() { $('#paymentNextStepBottom').click();return false;});"}]
        [{/if}]
    [{/if}]
[{else}]
    [{$smarty.block.parent}]
[{/if}]