-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b19b902
commit 690bab2
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% extends 'base.html' %} | ||
{% load crispy_forms_tags %} | ||
|
||
{% block body %} | ||
|
||
<div class="mx-auto"> | ||
<div class="form-group"> | ||
<form action="" method="post"> | ||
{% csrf_token %} | ||
{{ form|crispy }} | ||
<button type="submit" class="btn btn-danger w-100 my-3">Sign in</button> | ||
</form> | ||
</div> | ||
{% comment %} Already Registered {% endcomment %} | ||
<div class="text-center w-100"> | ||
<p class="text-muted font-weight-bold"> | ||
Don't have an account? | ||
<a href="{% url 'user:signup' %}" class="text-primary ml-2">Create account</a> | ||
</p> | ||
</div> | ||
</div> | ||
{% endblock body %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% extends 'base.html' %} | ||
{% load crispy_forms_tags %} | ||
{% block body %} | ||
<div class="mx-auto"> | ||
<div class="form-group"> | ||
<form action="" method="post"> | ||
{% csrf_token %} | ||
{{ form|crispy }} | ||
<button type="submit" class="btn btn-danger w-100 my-3">Create account</button> | ||
</form> | ||
</div> | ||
{% comment %} Already Registered {% endcomment %} | ||
<div class="text-center w-100"> | ||
<p class="text-muted font-weight-bold"> | ||
Already Registered? | ||
<a href="{% url 'user:login' %}" class="text-primary ml-2"> Login </a> | ||
</p> | ||
</div> | ||
</div> | ||
{% endblock body %} |