<form action="" method="post">
	<div class="row justify-content-center checkoutStep"
		data-step="Approve"
		>

		<div class="col-12 col-md-6">
			<{include file="check-out-billing.html"}>

			<a href="/shipping"><div class="checkout-section"><span>2</span> Levering <strong><i class="fa fa-edit"></i>Rediger</strong> </div></a>

			<div class="checkout-delivery">
				<div class="alpha omega">
					<ul class="address-review delivery">
						<{if $shipping}>
							<li><strong><{$shipping->getName()|escape}> <span class="delivery-summary"><{$shipping->getCost()|number_format:2:",":"."}> <{$webshop->getCurrency()}></span></strong></li>
						<{/if}>

						<{if $session_del.shop_info}>
							<li><strong>
								Afhentning
								<span class="delivery-summary"><{$session_del.shop_info|escape|replace:"\n":" &middot; "}></span>
							</strong></li>
						<{/if}>
					</ul>
				</div>
				<div class="clearfix"></div>
			</div>

			<div class="clearfix"></div>

			<div class="checkout-section active"><span>3</span> Godkendelse</div>
			<div class="checkout-summary">

				<{assign var="gateways" value=$webshop->getPaymentGateways()}>
				<{if $gateways}>
					<h3>Betalingsmetode</h3>
					<{section name="i" loop=$gateways}>
						<label>
							<input type="radio" name="payment_gateway_id" value="<{$gateways[i]->getPaymentGatewayId()}>" <{if $selected_payment_gateway == $gateways[i]->getPaymentGatewayId()}>checked="checked"<{/if}>/>
							<{$gateways[i]->getName()|escape}>
						</label>
					<{/section}>
				<{/if}>

				<div class="my-3 checkout-content">
					<h3>Handelsbetingelser</h3>
					<div class="terms">
						<{if $terms = $webshop->getTerms()}>
							<{$terms}>
						<{elseif $settings.texts.terms}>
							<{$settings.texts.terms}>
						<{else}>
							Denne shop har ikke nogen betingelser.
							Enten opret nogen, eller indsæt en tom tekst under dine <a href="<{$url|escape}>/theme-setup/settings#tabs-5" target="_blank">designindstillinger</a>.
						<{/if}>
					</div>
				</div>

				<div class="my-4"></div>

				<div class="form-group">
					<input class="input-checkbox" id="accept" type="checkbox" name="accept" value="1" required/>
					<label for="accept" class="checkbox">Jeg accepterer ovenstående betingelserne</label>
				</div>

				<div class="clearfix"></div>

				<div class="my-4"></div>
			</div>

			<input class="btn btn-success continue button color checkoutStepProceed paymentStep" type="submit" name="next" value="Godkend ordre og betal"/>

			<div class="checkout-section"><span>4</span> Betaling</div>
		</div>

		<div class="col-12 col-md-6">
			<{include file="check-out-basket.html"}>
		</div>

	</div>
</form>