Skip to content

Commit 1a8266f

Browse files
committed
AUTH Pages - Minor UX Changes
1 parent 4fda6e1 commit 1a8266f

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

core/templates/accounts/login.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1 class="mb-0 h3">
2828
{% if msg %}
2929
{{ msg | safe }}
3030
{% else %}
31-
Use default credentials: test / ApS12_ZZs8
31+
Add your credentials
3232
{% endif %}
3333
</p>
3434
</div>
@@ -70,7 +70,7 @@ <h1 class="mb-0 h3">
7070
</div>
7171

7272
</div>
73-
<button type="submit" name="login" class="btn btn-block btn-primary">Sign in</button>
73+
<button type="submit" name="login" class="btn btn-block btn-primary">Sign IN</button>
7474
</form>
7575

7676
<div class="d-flex justify-content-center align-items-center mt-4">

core/templates/accounts/register.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ <h1 class="mb-0 h3">
3333
</p>
3434
</div>
3535

36+
{% if success %}
37+
38+
<a href="{% url 'login' %}" class="btn btn-block btn-primary">Sign IN</a>
39+
40+
{% else %}
41+
3642
<form method="post" action="">
3743

3844
{% csrf_token %}
@@ -95,8 +101,12 @@ <h1 class="mb-0 h3">
95101
</div>
96102

97103
</div>
98-
<button type="submit" name="register" class="btn btn-block btn-primary">Sign in</button>
104+
<button type="submit" name="register" class="btn btn-block btn-primary">Sign UP</button>
99105
</form>
106+
107+
{% endif %}
108+
109+
100110
<div class="d-flex justify-content-center align-items-center mt-4">
101111
<span class="font-weight-normal">
102112
&copy; <a href="https://themesberg.com" target="_blank">Themesberg</a>

0 commit comments

Comments
 (0)