<!DOCTYPE html>
<html lang="en">

  {% include 'head.html' %}

  <body id="page-top">

    {% include 'navbar.html' %}

    <section class="section2">
      <div class="container">
        <div class="section-heading text-center">
          <h2>Pick An Option</h2>
          <p>Alrighty there hoss, pick an option below...</p>

          <hr><br /><br />

          <a class="btn btn-lg btn-link btn-outline btn-xl" href="{{ url_for('wallet.create') }}">Create new wallet</a>

          <hr><br /><br />

          <form method="POST" action="{{ url_for('wallet.setup') }}" class="send-form">
              {{ restore_form.csrf_token }}
              {% for f in restore_form %}
                {% if f.name != 'csrf_token' %}
                  <div class="form-group">
                    {{ f.label }}
                    {{ f }}
                  </div>
                {% endif %}
              {% endfor %}
              <ul>
              {% for field, errors in restore_form.errors.items() %}
                  <li>{{ restore_form[field].label }}: {{ ', '.join(errors) }}</li>
              {% endfor %}
            </ul>
              <input type="submit" value="Restore From Seed" class="btn btn-link btn-outline btn-xl">
          </form>
        </div>
      </div>
    </section>

    {% include 'footer.html' %}

    {% include 'scripts.html' %}

  </body>

</html>
