guild-journal/guild/templates/guild/reward_form.html

13 lines
304 B
HTML

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