34 lines
744 B
HTML
Executable file
34 lines
744 B
HTML
Executable file
<html>
|
|
<head>
|
|
<title> Neues Berichtsheft </title>
|
|
</head>
|
|
<body>
|
|
<h1> Neues Berichtsheft </h1>
|
|
|
|
<p> Berichtsheft {{ year }} / {{ week }} </p>
|
|
|
|
<form method="post">
|
|
{% for var in definition.vars %}
|
|
<div>
|
|
<label for="{{ var.name }}"> {{ var.display_name }}:</label>
|
|
<input type="text" id="{{ var.name }}" name="{{ var.name }}"
|
|
|
|
{% if var.name == "week" %}
|
|
value = "{{ week }}"
|
|
{% endif %}
|
|
|
|
{% if var.name == "year" %}
|
|
value = "{{ year }}"
|
|
{% endif %}
|
|
|
|
|
|
|
|
>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<button> Submit </button>
|
|
</form>
|
|
|
|
</body>
|
|
</html>
|