Sistema de Informações Gerenciais do Interlegis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
1.1 KiB

{% extends "admin/base_site.html" %}
{% load i18n admin_urls %}
{% block coltype %}flex{% endblock %}
{% block content_title %}<h1>{% trans "Exportar para CSV" %}</h1>{% endblock %}
{% block content %}
<form class="form-horizontal" id="changelist-form" action="" method="post">{% csrf_token %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{% trans "Selecione os campos para exportar" %}</h3>
</div>
<div class="panel-body">
<div class="form-group">
{% for field, label in export_fields %}
<div class="checkbox">
<label>
<input type="checkbox" name="selected_fields" value="{{ field }}" checked/>
{{ label }}
</label>
</div>
{% endfor %}
</div>
</div>
<div class="panel-footer">
<div class="form-group">
<button type="submit" class="btn">{% trans "Exportar" %}</button>
<a role="button" class="btn" href="{% url opts|admin_urlname:'changelist' %}">{% trans "Voltar" %}</a>
</div>
</div>
</div>
</div>
</form>
{% endblock %}