Files @ b0046f7ebbb8
Branch filter:

Location: django-shaker/djangoshaker/templates/djangoshaker/recipe_list.html

branko
Added pagination to list pages. Added the measures link.
{% extends "djangoshaker/template.html" %}

{% load djangoshaker_html_helpers %}

{% block title %}Django Shaker - Recipes{% endblock %}

{% block content %}

<h1>Recipes</h1>

{% if recipes %}
<ul class="unstyled">
  {% for recipe in recipes %}
  <li class="item">{% html_link 'recipe' recipe.name recipe.id "btn btn-link btn-fixed" %}</li>
  {% endfor %}
</ul>
{% include "djangoshaker/pagination.html" %}
{% else %}
<div>No recipes available.</div>
{% endif %}

{% endblock %}