Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
48 lines
1.1 KiB
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<br>
|
|
|
|
<h1>{% block nadpis1a %}M&Mí šifrovačka{% endblock nadpis1a %}</h1>
|
|
|
|
<br>
|
|
|
|
<h2>Zadat tajenku šifry:</h2>
|
|
|
|
<form action="{% url 'sifrovacka' %}" method="post">
|
|
<table class="form">
|
|
{{form.non_field_errors}}
|
|
{% for field in form %}
|
|
<tr>
|
|
<td>
|
|
<label class="field-label{% if field.field.required %} field-required{% endif %}" for="{{ field.id_for_label }}">
|
|
{{ field.label }}
|
|
</label>
|
|
|
|
</td>
|
|
|
|
<td {% if field.help_text %} class="field-with-comment"{% endif %}>
|
|
{{ field }}
|
|
<span class="field-comment">{{ field.help_text|safe }}</span>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
{% if field.errors %}
|
|
<tr>
|
|
<td colspan="2"><span class="field-error">{{ field.errors }}</span></td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="submit" value="Tak pravím!">
|
|
</form>
|
|
|
|
<a href="{% url 'sifrovacka_napoveda' %}">Získat nápovědu</a>
|
|
|
|
{% endblock content %}
|
|
|