arrowcounter/counter/templates/target/edit.html

27 lines
689 B
HTML
Raw Normal View History

2019-07-27 11:58:09 +00:00
{# vim: set ts=2 sw=2 et tw=80: #}
2019-07-26 21:32:50 +00:00
{% extends "base.html" %}
{% load static %}
2019-07-27 11:58:09 +00:00
{% load i18n %}
2019-07-26 21:32:50 +00:00
2019-07-27 11:58:09 +00:00
{% block title %}{% trans "Set yearly target" %}{% endblock %}
2019-07-26 21:32:50 +00:00
{% block content %}
2019-07-27 11:58:09 +00:00
<h1 class="center">{% trans "Set yearly target" %}</h1>
2019-07-26 21:32:50 +00:00
<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">
2019-07-27 11:58:09 +00:00
<a href="#"><button type="submit">{% trans "Save" %}</button></a>
<a href="{% url "target_delete" %}"><button type="button">
{% trans "Remove" %}</button></a>
2019-07-26 21:32:50 +00:00
</div>
</div>
</form>
{% endblock %}