

{% extends "base.html" %}
{% load static %}
{% block style-signup %}<link rel="stylesheet" href="{% static 'css/signup.css' %}">{% endblock %}
{% block nav-home %}<li><a href="/">Home</a></li>{% endblock %}
          
{% block nav-subjects %}<li><a href="/subjects">My Subjects</a></li>{% endblock %}
{% block nav-search-subjects %}<li><a href="/subjects">Search Subjects</a></li>{% endblock %}
{% block nav-signup %}<li class="active"><a href="/signup"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>{%endblock%}
{%block nav-login%}<li><a href="/login"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>{%endblock%}
{% block body%}

<div class="signup-container">
	<h2 style="margin-top:50px;text-align:center;">Signup</h2>

	<form action="/signup" method="post" class="signup-form">
	  
		{% csrf_token %}
	  <div class="signup-form-container">
	    <label for="uname"><b>ID</b></label>
	    {{form.pid}}

	    <label for="psw"><b>Password</b></label>
	    {{form.password}}

	    <label for="psw"><b>First Name</b></label>
		{{form.fname}}

	    <label for="psw"><b>Last Name</b></label>
	    {{form.lname}}

	    <label for="psw"><b>Are you Proff?</b></label>
	    {{form.is_prof}}
	        
	    <button type="submit" class="signup-button">signup</button>
	    
	  </div>

	  
	</form>

</div>
{% endblock %}

