rename .html templates to .jinja2 for more consistency
This commit is contained in:
parent
7f050afb8b
commit
2887d94a8c
36 changed files with 34 additions and 33 deletions
|
|
@ -1,36 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ T('sign-up') }} – {{ app_name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ T('sign-up') }}</h1>
|
||||
|
||||
<form method="POST">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
<div>
|
||||
<label>{{ T('username') }}:</label>
|
||||
<input type="text" name="username" />
|
||||
</div>
|
||||
<div>
|
||||
<label>{{ T('password') }}:</label>
|
||||
<input type="password" name="password" />
|
||||
</div>
|
||||
<div>
|
||||
<label>{{ T('confirm-password') }}:</label>
|
||||
<input type="password" name="confirm_password" />
|
||||
</div>
|
||||
<div>
|
||||
<label>{{ T('email') }} ({{ T('optional') }}):</label>
|
||||
<input type="text" name="email" />
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" name="legal" value="1" />
|
||||
<label>{{ T('have-read-terms').format(T('terms-of-service'), T('privacy-policy')) }}</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="submit" value="{{ T('sign-up') }}" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<p>{{ T('already-have-account') }} <a href="/accounts/login" rel="nofollow">{{ T("login") }}</a></p>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue