Commit ca633ad9 authored by ViolanteCodes's avatar ViolanteCodes
Browse files

separated out word login blanks and string login blank

parent d8dc9a54
......@@ -22,17 +22,16 @@
<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. Put one word in each box and do not include
dashes. You can use tab to navigate from one box to the next.
enter it below to login.
</p>
</div>
</div>
<!-- End Explanation block -->
<!-- Start rendering form -->
<form method="get" class="p-5">
<form method="get">
<!-- Determine if there are form validation errors. If so, render them here. -->
{% if form.non_field_errors %}
<div class="row">
<div class="row mt-0">
<div class="col-12">
{% for error in form.non_field_errors %}
<div class="list-unstyled alert alert-primary" role="alert">
......@@ -42,15 +41,78 @@
</div>
</div>
{% endif %}
<!-- Render form -->
<!-- Render words fields -->
<div class="row">
<div class="col-12">
<form method="get" class="p-5">
<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>
</div>
<ul class="bg-light p-4 flex-form">
<li>
{{ form.word_1.errors}}
{{ form.word_1 }}
{{ form.word_1.label_tag}}
</li>
<li>
{{ form.word_2.errors}}
{{ form.word_2 }}
{{ form.word_2.label_tag}}
</li>
<li>
{{ form.word_3.errors}}
{{ form.word_3 }}
{{ form.word_3.label_tag}}
</li>
<li>
{{ form.word_4.errors}}
{{ form.word_4 }}
{{ form.word_4.label_tag}}
</li>
<li>
{{ form.word_5.errors}}
{{ form.word_5 }}
{{ form.word_5.label_tag}}
</li>
<li>
{{ form.word_6.errors}}
{{ form.word_6 }}
{{ 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">
{{ form.as_ul }}
</ul>
<button type="submit" class="btn btn-lg btn-primary mr-2 mt-3 new-line">Login With This Identifier</button>
</form>
......
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