work
This commit is contained in:
parent
02341dccee
commit
d14464fdfd
21 changed files with 445 additions and 190 deletions
|
@ -21,13 +21,29 @@
|
|||
value = "{{ year }}"
|
||||
{% endif %}
|
||||
|
||||
{% if var.name == "start_date" %}
|
||||
value = "{{ start_date|date:"d.m.Y" }}"
|
||||
{% endif %}
|
||||
|
||||
{% if var.name == "end_date" %}
|
||||
value = "{{ end_date|date:"d.m.Y" }}"
|
||||
{% endif %}
|
||||
|
||||
{% if var.name == "num_doc" %}
|
||||
value = "{{ current_num }}"
|
||||
{% endif %}
|
||||
|
||||
{% if var.name == "name" %}
|
||||
value = "{{ user.display_name }}"
|
||||
{% endif %}
|
||||
|
||||
>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<button> Submit </button>
|
||||
|
||||
{% csrf_token %}
|
||||
</form>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue