mirror of https://github.com/interlegis/sigi.git
Sesostris Vieira
3 years ago
6 changed files with 147 additions and 117 deletions
@ -1,25 +1,48 @@ |
|||
{% extends "admin/base_site.html" %} |
|||
{% load i18n bootstrap3 %} |
|||
{% load i18n static %} |
|||
|
|||
{% block content_title %} |
|||
<h1 class="pull-left">{% trans 'Emitir declaração de comparecimento' %}</h1> |
|||
{% block extrastyle %} |
|||
{{ block.super }} |
|||
<link rel="stylesheet" href="{% static 'material/admin/css/submit_line.min.css' %}"> |
|||
{% endblock %} |
|||
|
|||
{% block content %} |
|||
{% block breadcrumbs %}{% endblock %} |
|||
|
|||
{% block messages %} |
|||
{% if error %} |
|||
<div class="alert alert-danger" role="alert"> |
|||
{{ error }} |
|||
</div> |
|||
<ul class="messagelist"> |
|||
<li class="error">{{ error|capfirst }}</li> |
|||
</ul> |
|||
{% endif %} |
|||
<div id="content-main"> |
|||
<form action="" method="post">{% csrf_token %} |
|||
{% endblock messages %} |
|||
|
|||
{% block content %} |
|||
<div class="container"> |
|||
<div class="card"> |
|||
<div class="card-content"> |
|||
<span class="card-title">{% trans 'Emitir declaração de comparecimento' %}</span> |
|||
<form id="select-form" name="select-form" action="" method="post" novalidate> |
|||
{% csrf_token %} |
|||
<div class="form-group"> |
|||
{% bootstrap_form form %} |
|||
{{ form }} |
|||
</div> |
|||
<input type="submit" value="Imprimir" class="btn btn-primary"/> |
|||
<a class="btn btn-danger" role="button" href="{% url 'admin:eventos_evento_change' evento_id %}">{% trans "Voltar" %}</a> |
|||
</form> |
|||
</div> |
|||
<div class="card-action"> |
|||
<div class="submit-row"> |
|||
<div class="open-actions"> |
|||
<button class="default waves-effect waves-light btn" type="submit" form="select-form" name="submit" value="print"> |
|||
<i class="material-icons">picture_as_pdf</i> |
|||
{% trans "Imprimir" %} |
|||
</button> |
|||
<a class="default waves-effect waves-light btn" role="button" href="{% url 'admin:eventos_evento_change' evento_id %}"> |
|||
<i class="material-icons">undo</i> |
|||
{% trans "Voltar" %} |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
{% endblock %} |
|||
|
|||
|
Loading…
Reference in new issue