Skip to content
Snippets Groups Projects
Commit b4bb4965 authored by Martin Mareš's avatar Martin Mareš
Browse files

Upozorňujeme na zadání kola pomocí seq

Zbytek viz issue #249.
parent 6b4e7374
No related branches found
No related tags found
1 merge request!97Import orgů
...@@ -241,7 +241,7 @@ class FormAddRole(FlaskForm): ...@@ -241,7 +241,7 @@ class FormAddRole(FlaskForm):
place = mo_fields.Place() place = mo_fields.Place()
year = wtforms.IntegerField('Ročník', validators=[validators.Optional()]) year = wtforms.IntegerField('Ročník', validators=[validators.Optional()])
category = wtforms.StringField("Kategorie", validators=[validators.Length(max=2)], filters=[lambda x: x or None]) category = wtforms.StringField("Kategorie", validators=[validators.Length(max=2)], filters=[lambda x: x or None])
seq = wtforms.IntegerField("Kolo", validators=[validators.Optional()]) seq = wtforms.IntegerField("Kolo", render_kw={"placeholder": "Pořadí kola v kategorii"}, validators=[validators.Optional()])
submit = wtforms.SubmitField('Přidat roli') submit = wtforms.SubmitField('Přidat roli')
......
...@@ -66,7 +66,7 @@ Podobně <code>S</code> znamená všechny středoškolské kategorie <code>A</co ...@@ -66,7 +66,7 @@ Podobně <code>S</code> znamená všechny středoškolské kategorie <code>A</co
<table class="data full"> <table class="data full">
<thead> <thead>
<tr> <tr>
<th>Role<th>Oblast<th>Ročník<th>Kategorie<th>Kolo<th>Přidělil<th>Akce <th>Role<th>Oblast<th>Ročník<th>Kategorie<th class='has-tip' title='Pořadí kola v kategorii'>Kolo<th>Přidělil<th>Akce
</tr> </tr>
</thead> </thead>
{% for role in user.roles %} {% for role in user.roles %}
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<th>Jméno <th>Jméno
<th>Roč. <th>Roč.
<th>Kat. <th>Kat.
<th>Kolo <th class='has-tip' title='Pořadí kola v kategorii'>Kolo
<th>Zdroj <th>Zdroj
</thead> </thead>
{% for role in roles %} {% for role in roles %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment