{% extends "base.html" %}

{% block title %}Set New Password{% endblock %}

{% block content %}
<section class="section">
  <div class="container container--narrow">
    <div class="glass-card portal-card fade-in">
      <h1 class="contact-form-title">Set a new password</h1>
      <form method="post">
        {% csrf_token %}
        {{ form.non_field_errors }}
        <div class="form-group">
          <label for="id_new_password1">New password</label>
          {{ form.new_password1 }}
          {{ form.new_password1.errors }}
        </div>
        <div class="form-group">
          <label for="id_new_password2">Confirm password</label>
          {{ form.new_password2 }}
          {{ form.new_password2.errors }}
        </div>
        <button type="submit" class="btn-primary btn-submit">Update password</button>
      </form>
    </div>
  </div>
</section>
{% endblock %}
