Skip to content
Snippets Groups Projects
Commit a7dda4db authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

UI Pro nastavení příznaku skryté místo

parent 8e627506
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !106. Comments created here will be created in the context of that merge request.
......@@ -66,6 +66,9 @@ class PlaceEditForm(FlaskForm):
description="Pro okresy a výše"
)
note = mo_fields.String('Poznámka')
hidden = mo_fields.Boolean(
'Skrýt (účastníkům se místo nebude zobrazovat při výběru školy v přihlašování)'
)
submit = wtforms.SubmitField('Uložit')
......
......@@ -18,6 +18,7 @@
<tr><td>NUTS/LAU:<td>{{ place.nuts or '–' }}
{% endif %}
<tr><td>Poznámka:<td>{{ place.note or '–' }}
<tr><td>Skrytý:<td><div class="{% if place.hidden %}warning-text{% endif %}">{{ place.hidden | yes_no }}</div>
</table>
<div class="btn-group" role="group">
{% if can_edit %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment