guild-journal/guild/templates/guild/character_form.html

13 lines
341 B
HTML

{% extends 'base.html' %}
{% block content %}
<form action="" method="post" enctype="multipart/form-data" >
{% csrf_token %}
{{ form.as_p }}
{% if object %}
<input type="submit" value="Update Character">
{% else %}
<input type="submit" value="Create Character">
{% endif %}
</form>
{% endblock content %}