lkd-planet/DJAGEN/branches/mustafa_branch/djagen/templates/main/query.html
Mustafa Arıcı ffb123c184 Searching feature is fixed. Now it can search for entries properly.
* /search/ url matched mapped to query() view.
    * model filtering process has taken from the query() view fnc. to a distinct fnc. in order to provide reusability.
2011-06-12 12:14:57 +00:00

35 lines
925 B
HTML
Executable File

{% extends "main/base.html" %}
{% block body %}
<form action="{{ BASE_URL }}/search/" method="POST" enctype="multipart/form-data">
<table border="0px">
{% for field in q_form %}
<tr>
<div class="fieldWrapper">
<td>{{ field.label_tag }}</td>
<td>
{{ field }}
</td>
{% if field.help_text %}
<td>
{{ field.help_text }}
</td>
{% endif %}
{% if field.errors %}
<td>
{{ field.errors }}
</td>
{% endif %}
</div>
</tr>
{% endfor %}
</table>
<div class="spacer"></div>
<input type="submit" value="Ara!" />
</form>
{% endblock %}