Basic form for adding a version. Still needs: * Check of slug uniqueness * Choose between author user or author name * slug auto-creation * ingredients TODO: * Add recipe
12 lines
251 B
HTML
12 lines
251 B
HTML
{% extends "base_main.html" %}
|
|
{% block title %}{{ recipe.title }}{% endblock %}
|
|
{% block main %}
|
|
<form action="" method="post">
|
|
{% csrf_token %}
|
|
<table>
|
|
{{ form.as_table }}
|
|
</table>
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
{% endblock %}
|