search working

This commit is contained in:
vabene1111
2018-02-01 12:43:17 +01:00
parent 901ae9053a
commit 2b3e1a5243
3 changed files with 88 additions and 145 deletions

View File

@@ -15,15 +15,12 @@
{{ filter.form.as_p }}
<input type="submit"/>
</form>
{% for obj in filter.qs %}
{{ obj.name }} - ${{ obj.price }}<br/>
{% endfor %}
</div>
</div>
<br/>
{% if recipes %}
{% render_table table %}
{% render_table recipes %}
{% else %}
<div class="alert alert-danger" role="alert">
{% trans "Log in to view Recipies" %}