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