mirror of
				https://github.com/bspeice/Melodia
				synced 2025-11-04 02:10:42 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			797 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			797 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends "base" %}
 | 
						|
 | 
						|
{% block page_title  %}Login to Melodia{% endblock %}
 | 
						|
 | 
						|
{% block navbar_title %}Login to Melodia{% endblock %}
 | 
						|
{# Disable navbar content other than the title #}
 | 
						|
{% block navbar_content %}{% endblock %}
 | 
						|
 | 
						|
{# Similar to navbar, but remove entire sidebar #}
 | 
						|
{% block sidebar %}{% endblock %}
 | 
						|
 | 
						|
{% block body %}
 | 
						|
<center>
 | 
						|
	<form action="" method="post">
 | 
						|
		{% csrf_token %}
 | 
						|
 | 
						|
		{# We display the elements ourselves, since we don't want to render errors #}
 | 
						|
		<p><label>Username:</label>
 | 
						|
		{{ auth_form.username }}
 | 
						|
		</p>
 | 
						|
		<p><label>Password:</label>
 | 
						|
		{{ auth_form.password }}
 | 
						|
		</p>
 | 
						|
		<button class="btn btn-primary">Login to Melodia</button>
 | 
						|
	</form>
 | 
						|
 | 
						|
	{% if login_error %}
 | 
						|
	<div class="alert alert-error span4 offset4">{{ login_error }}</div>
 | 
						|
	{% endif %}
 | 
						|
 | 
						|
</center>
 | 
						|
{% endblock %}
 |