<!-- templates/signup.html -->
{% extends 'landing_base.html' %}

{% block title %}Registro{% endblock %}

{% block content %}
<div class="panel panel-green">
	<div class="panel-heading">
		<div class="row">
                                <div class="col-xs-3">
                                    <i class="fa fa-pencil fa-5x"></i>
                                </div>
                                <div class="col-xs-9 text-right">
                                
                                {% if form.errors %}
                                        <p>{{form.username.help_text}}</p>
                                {% endif %}



                                <form role="form" method="post">
				{% csrf_token %}

                                <div class="form-group">
                                  <input class="form-control" placeholder="nombre de usuario" name="username" type="" id="id_username" autofocus>
                                </div>
                                <div class="form-group">
                                  <input class="form-control" placeholder="contraseña" name="password1" type="password" id="id_password1" autofocus>
                                </div>
                                <div class="form-group">
                                  <input class="form-control" placeholder="confirmar contraseña" name="password2" type="password" id="id_password2" autofocus>
                                </div>



                                <div class="form-group">
                                  <input type="submit" value="Registrarse" class="btn btn-lg btn-success btn-block" />
                                  <input type="hidden" name="next" value="" />
                                </div>
                                </form>

                                </div>
		</div>
	</div>
</div>
{% endblock %}
