2010-07-06 19:25:42 +03:00
|
|
|
|
{% extends "main/base.html" %}
|
|
|
|
|
{% block body %}
|
2010-07-16 11:05:10 +03:00
|
|
|
|
{% comment %}
|
2010-08-11 14:42:16 +03:00
|
|
|
|
<form action="{{ BASE_URL }}/query" method='GET'>
|
2010-07-16 11:05:10 +03:00
|
|
|
|
<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>
|
2010-07-16 11:05:10 +03:00
|
|
|
|
<b>Aradığınız Metin:</b><input type="text" name="q_text">
|
|
|
|
|
<input type="submit" value="Listele">
|
|
|
|
|
</form>
|
|
|
|
|
{% endcomment %}
|
|
|
|
|
|
2010-08-11 14:42:16 +03:00
|
|
|
|
<form action="{{ BASE_URL }}/query/" method="POST" enctype="multipart/form-data">
|
2010-07-16 11:05:10 +03:00
|
|
|
|
{% 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 %}
|