Commit 54c43158 authored by ViolanteCodes's avatar ViolanteCodes
Browse files

updated user_login.html to have more concise language and to create...

updated user_login.html to have more concise language and to create fieldwrapper with label, etc., to meet accessbility standard
parent 78f0ab16
......@@ -13,16 +13,18 @@
{% endblock %}
<!-- Subheader block sets the subheader -->
{% block subheader %}
Enter in a User Identifier Code-Phrase
Login with Existing User Identifier
{% endblock %}
<!-- block content block is where page contents go -->
{% block content %}
<!-- Explanation block -->
<div class="row mb-4">
<div class="row mb-1">
<div class="col-12">
<p class="pr-5">
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>
If you've already created a user identifier, enter it and click the button below.
You can separate words with commas, spaces, dashes, or underscores.</p>
<p class="pr-5">If you don't have a user identifier,
(or want a different one), you can <a href="{% url 'create-identifier' %}">create one now.</a>
</p>
</div>
</div>
......@@ -42,23 +44,17 @@
</div>
{% endif %}
<!-- Render login string block -->
<div class="row">
<div class="row mb-3">
<div class="col-12">
<div class="">
<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">
<div class="bg-light px-4 pt-4 pb-1 flex-form fieldWrapper mb-0">
{{ form.login_string.errors}}
{{ form.login_string}}
{{ form.login_string.label}}
<label for="{{form.login_string.id_for_label }}" class="text-muted ml-2 small">
Enter your user identifier above.</label>
</div>
</div>
</div>
<div>
<button type="submit" class="btn btn-lg btn-primary mr-2 mt-3 new-line">Login With This Identifier</button>
</div>
<div>
<button type="submit" class="btn btn-lg btn-primary mr-2 mt-3 new-line">Login With This Identifier</button>
</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