mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 21:58:54 -05:00
fixed non login index page
This commit is contained in:
@@ -6,20 +6,22 @@
|
||||
{% block title %}{% trans "Cookbook" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
{% trans "Search" %}
|
||||
{% if filter %}
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
{% trans "Search" %}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form action="" method="get">
|
||||
{% crispy filter.form %}
|
||||
<input type="submit"/>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form action="" method="get">
|
||||
{% crispy filter.form %}
|
||||
<input type="submit"/>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<br/>
|
||||
|
||||
|
||||
{% if recipes %}
|
||||
{% render_table recipes %}
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user