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

31 lines
1.1 KiB
HTML
Raw Normal View History

2010-07-06 19:25:42 +03:00
{% 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">
2010-07-06 19:25:42 +03:00
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>
2010-07-06 19:25:42 +03:00
{% endblock %}