First push
This commit is contained in:
31
ACC/templates/registration/login.html
Normal file
31
ACC/templates/registration/login.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% extends "base.html" %}
|
||||
{% block base %}
|
||||
|
||||
<style>
|
||||
/* Add some padding inside the card container */
|
||||
.container {
|
||||
padding: 20px 16px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
{% load django_bootstrap5 %}
|
||||
{% bootstrap_css %}
|
||||
{% bootstrap_javascript %}
|
||||
<div class="container">
|
||||
<div class="card">
|
||||
<form action="{{ app_path }}" method="post" id="login-form">{% csrf_token %}
|
||||
{% if 'username' in form.fields %}
|
||||
{% bootstrap_form form %}
|
||||
{% else %}
|
||||
{% bootstrap_form form %}
|
||||
{% endif %}
|
||||
<div class="action right-align">
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
Reference in New Issue
Block a user