Added recipe editing pages.
[cookbook.git] / cookbook / template / edit-recipe.html
diff --git a/cookbook/template/edit-recipe.html b/cookbook/template/edit-recipe.html
new file mode 100644 (file)
index 0000000..fcd2a01
--- /dev/null
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+
+{% block page_title %}
+    {% if recipe.url %}
+        <a href="{{ recipe.url }}">{{ recipe.name }}</a>
+    {% else %}
+        {{ recipe.name }}
+    {% endif %}
+{% endblock %}
+
+{% block content %}
+    {{ form }}
+{% endblock %}