Added recipe removal link and replaced ' />' -> '/>'
[cookbook.git] / cookbook / template / recipes.html
index d0b5b36c650c80c348efc7f974e032b385be54b2..06e320e8c93bec9c3eedca0c235be034e5cec89d 100644 (file)
        {% for tag in cookbook.tags() %}
        <option value="{{ tag }}">{{ tag }}</option>
        {% endfor %}
-      </select><br />
-      <input type="submit" value="Show only selected tags" />
+      </select><br/>
+      <input type="submit" value="Show only selected tags"/>
     </form>
     <ul id="recipe-list">
-    {% for recipe in recipes %}
-        <li><a href="recipe?name={{ recipe.clean_name(ascii=True) }}">
-           {{ recipe.name }}</li>
-    {% endfor %}
+      {% for recipe in recipes %}
+      <li><a href="recipe?name={{ recipe.clean_name(ascii=True) }}">
+             {{ recipe.name }}</li>
+      {% endfor %}
     </ul>
 
     <p><a href="edit">add new receipe</a></p>