~sircmpwn/meta.sr.ht

ref: 72548bd7545f78670878667674cc7645835a17bd meta.sr.ht/metasrht/templates/reset.html -rw-r--r-- 892 bytes
72548bd7Drew DeVault API: Updates per core-go auth changes 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends "layout.html" %}
{% block title %}
<title>Reset your {{cfg("sr.ht", "site-name")}} password</title>
{% endblock %}
{% block content %}
<div class="row">
  <div class="col-md-12">
    <h3>
      Reset password
    </h3>
  </div>
</div>
<div class="row">
  <div class="col-md-6 offset-md-6">
    <form method="POST">
      {{csrf_token()}}
      <div class="form-group">
        <label for="password">New password</label>
        <input
           type="password"
           name="password"
           id="password"
           required
           autocomplete="new-password"
           class="form-control {{valid.cls("password")}}" />
        {{valid.summary("password")}}
      </div>
      {{valid.summary()}}
      <button class="btn btn-primary pull-right" type="submit">
        Reset password {{icon('caret-right')}}
      </button>
    </form>
  </div>
</div>
{% endblock %}