lkd-planet/DJAGEN/trunk/djagen/templates/main/query.html

31 lines
1.1 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "main/base.html" %}
{% block body %}
{% comment %}
<form action="{{ BASE_URL }}/query" method='GET'>
<b>Yazar<br> Adı:</b><input type="text" name="q_author_name">
ve/veya
<b>Soyadı:</b><input type="text" name="q_author_surname"><br>
veya<br>
<b>Aradığınız Metin:</b><input type="text" name="q_text">
<input type="submit" value="Listele">
</form>
{% endcomment %}
<form action="{{ BASE_URL }}/query/" method="POST" enctype="multipart/form-data">
{% for field in q_form %}
<div class="fieldWrapper">
{% if field.errors %}
<span class="error">{{ field.errors }}</span>
{% endif %}
{{ field.label_tag }}
{% if field.help_text %}
<span class="small">{{ field.help_text }}</span>
{% endif %}
{{ field }}
</div>
{% endfor %}
<div class="spacer"></div>
<input type="submit" value="Listele" />
</form>
{% endblock %}