Commit eb17c3a2 authored by ViolanteCodes's avatar ViolanteCodes
Browse files

updated login template to only display field for login string

parent 10b13f38
......@@ -18,11 +18,11 @@
<!-- block content block is where page contents go -->
{% block content %}
<!-- Explanation block -->
<div class="row">
<div class="row mb-4">
<div class="col-12">
<p class="pr-5">
If you've already created a user-identifier code-phrase, you can
enter it below to login.
If you've already created a user identifier, you can
enter it below to login, or you can <a href="{% url 'create-identifier' %}">create one now.</a>
</p>
</div>
</div>
......@@ -31,7 +31,7 @@
<form method="get">
<!-- Determine if there are form validation errors. If so, render them here. -->
{% if form.non_field_errors %}
<div class="row mt-0">
<div class="row mt-2">
<div class="col-12">
{% for error in form.non_field_errors %}
<div class="list-unstyled alert alert-primary" role="alert">
......@@ -41,15 +41,27 @@
</div>
</div>
{% endif %}
<!-- Render words fields -->
<!-- Render login string block -->
<div class="row">
<div class="col-12">
<div class="">
<p class="mt-4">
Option 1: Enter the words of your user identifier Code below
to login. Put one word in each box and do not include
dashes. You can use tab to navigate from one box to the next.
<p>
Enter your user identifier and click the button below.
You can separate the words with commas, spaces, dashes, or underscores.
</p>
</div>
<div class="bg-light p-4 flex-form">
{{ form.login_string}}
</div>
</div>
</div>
<!-- Render words fields
<div class="row mt-2">
<div class="col-12">
<div class="mt-4">
<p class="">
Option 2: Enter the words of your user identifier below
to login. Put one word in each box. You can use tab to navigate from one box to the next.
</p>
</div>
<ul class="bg-light p-4 flex-form">
......@@ -84,38 +96,11 @@
{{ form.word_6.label_tag}}
</li>
</ul>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="">
<p>
Option 2: Enter your login as a string, using either spaces or dashes to separate the words.
</p>
</div>
<div class="bg-light p-4 flex-form">
{{ form.login_string}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<ul class="bg-light p-5 flex-form">
</ul>
<button type="submit" class="btn btn-lg btn-primary mr-2 mt-3 new-line">Login With This Identifier</button>
</form>
</div> -->
<!-- </div> -->
<!-- Render login button block -->
<div>
<button type="submit" class="btn btn-lg btn-primary mr-2 mt-3 new-line">Login With This Identifier</button>
</div>
</div>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment