Skip to content

Commit

Permalink
fix(html): add custom checkbox to register page
Browse files Browse the repository at this point in the history
  • Loading branch information
vednoc committed May 30, 2021
1 parent 9611b53 commit c2d39c3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions views/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@ <h1>Register</h1>
required pattern="^[\S]{8,32}$"
type="password" name="password"
placeholder="(8–32 characters)">
<label for="agreement">You hereby agree to the <a style="margin-left: 0.5ch" href="/legal/terms-of-service">Terms of Service</a>.</label>
<input
required
type="checkbox" name="agreement">

<div class="checkbox flex mb:m">
<input required type="checkbox" name="agreement" id="agreement">
{{ template "partials/checkboxes" }}
<label for="agreement">You hereby agree to the <a class="ml:s" href="/legal/terms-of-service">Terms of Service</a>.</label>
</div>

<button class="btn primary" type="submit">Register</button>
</form>
<p class="form-tip ta:c">
Expand Down

0 comments on commit c2d39c3

Please sign in to comment.