<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Flip Noorman | Love It! | Preorder</title>
    <meta name="description" content="Na zijn succesvolle tournee met het werk van Leonard Cohen is Flip Noorman terug met een eigen avondvullende show. Love it">
    <link rel="stylesheet" href="/static/css/index.css?v4">
    <link rel="icon" type="image/png" href="static/img/favicon.png" />
</head>
<body>
    <nav class="nav always-open">
        <div class="nav__section nav__left">
            <a href="/">Love It!</a>
        </div>
        <div class="nav__section nav__right">
            <a href="https://mailchi.mp/fa9b30c6bd38/flip-noorman-nieuwsbrief" class="c-nav-invert-button" target="_blank" ref="no-follow">Nieuwsbrief</a>
            <a href="/albums">Albums</a>
        </div>
    </nav>
    <div class="c-page-section" id="" style="padding-top: 150px">
        <div class="c-page-section__content">
            <h1 class="t-h1">
                Bestellen
            </h1>
           <table class="c-table">
               <tr>
                    <td>{{.product.Name}}</td>
                    <td>{{.orderCount}} x</td>
                    <td>{{formatMoney .subtotal}}</td>
               </tr>
               <tr>
                    <td>Verzendkosten</td>
                    <td>1 x</td>
                    <td>{{formatMoney .shipping}}</td>
                </tr>
                <tr class="c-table__border">
                    <td>Totaal</td>
                    <td></td>
                    <td>{{formatMoney .total}}</td>
                </tr>
           </table>
           {{if ne .error_ ""}}
                <p class="t-p1 red">{{.error_}}</p>
           {{end}}
            <form action="/preorder" method="POST" class="js-require">
                <input type="hidden" name="product_count" class="js-input" value="{{.orderCount}}">
                <div class="c-form-row"><p class="t-p1">* = verplicht veld</p></div>
                <div class="c-form-row">
                    <label class="c-label" for="name" style="display: block;">Naam (*)</label>
                    <input class="c-input js-input" type="text" name="name" id="name">
                </div>
                <div class="c-form-row">
                    <label class="c-label" for="email" style="display: block;">Emailadres (*)</label>
                    <input class="c-input js-input" type="text" name="email" id="email">
                </div>
                <div class="c-form-row">
                    <label class="c-label" for="address" style="display: block;">Adres (*)</label>
                    <input class="c-input js-input" type="text" name="address" id="address">
                </div>
                <div class="c-form-row">
                    <label class="c-label" for="postcode" style="display: block;">Postcode (*)</label>
                    <input class="c-input js-input" type="text" name="postcode" id="postcode">
                </div>
                <div class="c-form-row">
                    <label class="c-label" for="city" style="display: block;">Stad (*)</label>
                    <input class="c-input js-input" type="text" name="city" id="city">
                </div>
                <div class="c-form-row">
                    <button class="c-submit js-submit">Bestellen</button>
                </div>
            </form>
        </div>
    </div>
    <footer class="c-footer">
        <span>© {{.nowYear}} Flip Noorman </span>
        <span>info@flipnoorman.nl</span>
    </footer>
    <script src="/static/js/shared.js"></script>
</body>
</html>