mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
overview + center
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% load django_tables2 %}
|
||||
|
||||
{% block title %}Rezepte{% endblock %}
|
||||
|
||||
@@ -6,17 +7,7 @@
|
||||
|
||||
<h1>Übersicht</h1>
|
||||
|
||||
<table class="table table-bordered table-hover">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Kategorie</th>
|
||||
</tr>
|
||||
{% for recipe in recipes %}
|
||||
<tr>
|
||||
<td>{{ recipe.name }}</td>
|
||||
<td>{{ recipe.category }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
{% render_table recipes %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user