arrowcounter/counter/templates/target/edit.html

24 lines
571 B
HTML
Raw Normal View History

2019-07-26 21:32:50 +00:00
{% extends "base.html" %}
{% load static %}
{% block title %}Set yearly target{% endblock %}
{% block content %}
<h1 class="center">Set yearly target</h1>
<form method="post" id="edit-target-form">
<div class="col s12 card">
<div class="card-content">
{% csrf_token %}
<div class="row">
{{ form.as_p }}
</div>
</div>
<div class="card-action">
<a href="#"><button type="submit">Save</button></a>
<a href="{% url "target_delete" %}"><button type="button">Remove</button></a>
</div>
</div>
</form>
{% endblock %}