lkd-planet/DJAGEN/branches/mustafa_branch/djagen/templates/main/query.html
Mustafa Arıcı 1dfd2637b9 ReComplete - task : QueryPage Optimisation
Complete - task : Make querying feat use django forms and widgets for querying 

-Added a switchable on the fly name surname seperator to planet.py
2010-07-15 11:48:56 +00:00

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 }}/archive ' 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 }}/archive" method="GET" 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 %}