36 lines
1.5 KiB
HTML
36 lines
1.5 KiB
HTML
|
{% extends 'base.html' %}
|
||
|
|
||
|
{% block title %}Inicia sesion{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
{% from '_macro.html' import render_field %}
|
||
|
<div class="container">
|
||
|
<div class="row justify-content-center align-items-center">
|
||
|
<div class="col-lg-8 col-lg-offset-2 col-md-2 col-md-offset-1">
|
||
|
<h2 style="text-align:center">Inicia sesion</h2>
|
||
|
<form method="POST" class="sentMessage" id="contactForm">
|
||
|
|
||
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||
|
|
||
|
<div class="control-group">
|
||
|
<div class="form-group col-xs-12 floating-label-form-group controls">
|
||
|
{{ render_field(form.username, class="form-control" )}}
|
||
|
<p class="help-block text-danger"></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="control-group">
|
||
|
<div class="form-group col-xs-12 floating-label-form-group controls">
|
||
|
{{ render_field(form.password, class="form-control" )}}
|
||
|
<p class="help-block text-danger"></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<br>
|
||
|
<div id="sucess"></div>
|
||
|
<div class="form-group col-xs-12">
|
||
|
<button type="submit" class="btn btn-default">Iniciar sesion</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|