{% extends "base.html" %}
{% load i18n %}

<!--
        Title
-->
{% block title %}{% trans "Search results" %}{% endblock %}


<!--
        Main Content
-->
{% block content %}

<h2>{% trans "Search results" %} - &quot;{{ search_term }}&quot;</h2>

<form action="{% url nutrition.views.ingredient_search %}"
      method="get"
      id="ingredient_search_form">
    {% csrf_token %}
    <input name="term" id="ingredient-search">
</form>

<ul>
{% for ingredient in ingredients %}
    <li><a href="{% url nutrition.views.ingredient_view ingredient.id %}">{{ ingredient.name }}</a></li>
{% endfor %}
</ul>

{% endblock %}


<!--
        Side bar
-->
{% block sidebar %}{% endblock %}

Add template for non-JS ingredient search
Add template for non-JS ingredient search

--HG--
rename : exercises/templates/exercise_search.html => nutrition/templates/ingredient_search.html
