<{if $settings.settings.use_wishlist}>

	<{if $get.new}>

		<form action="" method="post">

			<div class="row">

				<div class="col-md-12">

					<div class="checkout-content">

						<h3><{t}>Ny ønskeliste<{/t}></h3>

						<label><{t}>Navn på ønskeliste<{/t}>
							<input type="text" name="name" value="">
						</label>

						<label><{t}>Beskrivelse<{/t}>
							<textarea name="description" class="fullwidth"></textarea>
						</label>
					</div>

					<input type="submit" value="<{t}>Opret<{/t}>">

				</div>
			</div>
		</form>

	<{else}>

		<div class="row justify-content-center">
			<div class="col-10 col-md-12">
				<h3 class="headline"><{t}>Dine ønskelister<{/t}></h3><span class="line margin-bottom-35"></span><div class="clearfix"></div>
			</div>
		</div>

		<div class="row justify-content-center">
			<div class="col-10 col-md-12">

				<table class="cart-table responsive-table">

					<tr>
						<th><{t}>Navn<{/t}></th>
						<th><{t}>Oprettet<{/t}></th>
						<th><{t}>Produkter<{/t}></th>
						<th><{t}>Status<{/t}></th>
						<th class="text-right"><{t}>Vis<{/t}></th>
						<th class="text-right"><{t}>Rediger<{/t}></th>
					</tr>

					<{foreach $customer->getWishlists() as $wishlist}>
						<tr>
							<td class="align-top"><{$wishlist->getName()|escape}></td>
							<td class="align-top"><{$wishlist->getCreated()|date_format:"%d.%m.%Y %H:%M:%S"}></td>
							<td class="align-top"><{$wishlist->getProductCount()}></td>
							<td class="align-top"><{t}><{if $wishlist->getStatus() == "active"}>Aktiv<{elseif $wishlist->getStatus() == "closed"}>Lukket<{/if}><{/t}></td>
							<td class="text-right align-top"><a href="<{$wishlist->getRemoteUrl()|escape}>"><{t}>Vis<{/t}></a></td>
							<td class="text-right align-top"><a href="<{$wishlist->getEditUrl()|escape}>"><{t}>Rediger<{/t}></a></td>
						</tr>
					<{/foreach}>

				</table>

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

				<br>

				<p><a href="user-wishlists?new=true" class="btn btn-primary button color proceed"><{t}>Opret ønskeliste<{/t}></a></p>
			</div>
		</div>

	<{/if}>

<{/if}>