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.
50 lines
1.2 KiB
50 lines
1.2 KiB
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<br>
|
|
|
|
<h1>{% block nadpis1a %}M&Mí šifrovačka{% endblock nadpis1a %}</h1>
|
|
|
|
<br>
|
|
|
|
<h2>Získat nápovědu k šifře:</h2>
|
|
|
|
<form action="{% url 'sifrovacka_napoveda' %}" 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="Chci nápovědu">
|
|
</form>
|
|
|
|
<p><a href="{% url 'sifrovacka' %}">Nechceme nápovědu, známe řešení!</a></p>
|
|
|
|
<p><a href="{% url 'sifrovacka_preskoceni' %}">Přeskoč šifru</a></p>
|
|
|
|
{% endblock content %}
|
|
|