django-project/recipes/templates/add-version.html
Benjamin acbcf3f606 fixup! Add forms for adding recipes and versions
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
2023-02-17 16:41:22 +01:00

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 %}