{% block title %}Add an ingredient{% endblock %}
{% block content %}
<h1 class="pagetitle">Add a new ingredient</h1>
- <form enctype="multipart/form-data" action="/addingredient/" method="post">
+ <form enctype="multipart/form-data" action="{% url add_ingredient %}" method="post" class="cssform">
{{ iform.as_p }}
<input type="submit" value="Submit" />
</form>