Files @ 75f3e26f1f32
Branch filter:

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

branko
Initial import from the old repository. Includes sample test project.
{% extends "djangoshaker/template.html" %}

{% load djangoshaker_html_helpers %}

{% block title %}Django Shaker - {{ingredient.name}}{% endblock %}

{% block header_title %}{{ingredient.name}}{% endblock %}

{% block content %}

{% if ingredient %}
<h2 class="title_section">Description</h2>

{% if ingredient.description %}
<div class="text_long">{{ingredient.description|linebreaks}}</div>
{% endif %}

{% if ingredient.brand_set.all %}
<h2 class="title_section">Available Brands</h2>
<ul class="listing">  
  {% for brand in ingredient.brand_set.all %}
  <li class="item">{% html_link 'brand' brand.name brand.id "listing_link" %}</li>
  {% endfor %}
</ul>
{% endif %}

{% endif %}

{% endblock %}