Compare commits
1 Commits
be5d52e35b
...
5a37d12377
Author | SHA1 | Date | |
---|---|---|---|
|
5a37d12377 |
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -76,7 +76,7 @@ coverage.xml
|
||||||
docs/_build/
|
docs/_build/
|
||||||
|
|
||||||
# PyBuilder
|
# PyBuilder
|
||||||
target/
|
/target/
|
||||||
|
|
||||||
|
|
||||||
### Django ###
|
### Django ###
|
||||||
|
|
23
counter/templates/target/edit.html
Normal file
23
counter/templates/target/edit.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% 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 %}
|
23
counter/templates/target/edit.html~
Normal file
23
counter/templates/target/edit.html~
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% 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 %}
|
Loading…
Reference in New Issue
Block a user