~vcs-imports/reviewboard/trunk

« back to all changes in this revision

Viewing changes to reviewboard/templates/accounts/sso/link-user-provision.html

  • Committer: David Trowbridge
  • Date: 2022-06-16 20:59:51 UTC
  • mfrom: (4910.2.123)
  • Revision ID: git-v1:6801d06c2f05c7b9817c865205dcf823cacafce3
Merge branch 'release-5.0.x'

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "accounts/base.html" %}
 
2
{% load avatars djblets_deco i18n %}
 
3
 
 
4
{% block title %}{% trans "Create Account" %}{% endblock %}
 
5
 
 
6
{% block auth_content %}
 
7
<div class="auth-header">
 
8
 <h1>{% trans "Create Review Board account" %}</h1>
 
9
 <p>
 
10
{%  blocktrans %}
 
11
  Create a new account on {{PRODUCT_NAME}}. If you already have a username and
 
12
  password, log in with the link below. If you have an account but cannot log
 
13
  in, <strong>stop and contact your administrator for assistance</strong>.
 
14
{%  endblocktrans %}
 
15
 </p>
 
16
{%  if form.errors %}
 
17
{%   errorbox %}{{form.non_field_errors}}{% enderrorbox %}
 
18
{%  endif %}
 
19
</div>
 
20
 
 
21
<form method="post" action="." class="auth-section main-auth-section"
 
22
      id="login_form">
 
23
{%  block hidden_fields %}
 
24
 <input type="hidden" name="next" value="{{next}}">
 
25
 <input type="hidden" name="username" value="{{form.username.value}}">
 
26
 <input type="hidden" name="password" value="{{form.password.value}}">
 
27
 {{form.provision}}
 
28
 {% csrf_token %}
 
29
{%  endblock %}
 
30
 
 
31
 <div class="auth-form-row">
 
32
  <div class="auth-button-container">
 
33
   <input type="submit" class="primary" value="{% trans "Create Account" %}">
 
34
  </div>
 
35
 </div>
 
36
</form>
 
37
 
 
38
<div class="auth-header">
 
39
 <h1>{% trans "Already have an account?" %}</h1>
 
40
 <p><a href="?mode=connect-login">{% trans "Log in to connect" %}</a></p>
 
41
</div>
 
42
{% endblock auth_content %}