mirror of https://github.com/interlegis/sigi.git
Sesostris Vieira
3 years ago
2 changed files with 54 additions and 1 deletions
@ -0,0 +1,13 @@ |
|||||
|
{% load i18n %} |
||||
|
{% with choice=choices.0 %} |
||||
|
<div class="col s12"> |
||||
|
<form method="get" action="{{ choice.query_string|iriencode }}"> |
||||
|
<label>{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}</label> |
||||
|
<button class="btn-floating btn-small right pulse waves-effect waves-light" type="submit"><i class="material-icons tiny">send</i></button> |
||||
|
<a href="{{ choice.query_string|iriencode }}">{% trans 'All' %}</a> |
||||
|
{% for field in choice.form %} |
||||
|
<input id="{{ field.id }}" name="{{ field.name }}" type="text" class="datepicker" value="{{ field.value|default_if_none:''|date:"SHORT_DATE_FORMAT" }}"/> |
||||
|
{% endfor %} |
||||
|
</form> |
||||
|
</div> |
||||
|
{% endwith %} |
Loading…
Reference in new issue