From 15e8a08d85726bd2898f390a93b0a79c5ef5eacc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Pracha=C5=99?= <jan.prachar@gmail.com>
Date: Mon, 29 Mar 2021 10:54:00 +0200
Subject: [PATCH] =?UTF-8?q?org=5Fparticipants=5Ftable:=20Oprava=20podm?=
 =?UTF-8?q?=C3=ADnky=20a=20srozumiteln=C4=9Bj=C5=A1=C3=AD=20popis?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mo/web/org_contest.py                                      | 3 ++-
 mo/web/templates/parts/org_participants_table_actions.html | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/mo/web/org_contest.py b/mo/web/org_contest.py
index 367ef536..5f9744f3 100644
--- a/mo/web/org_contest.py
+++ b/mo/web/org_contest.py
@@ -89,7 +89,8 @@ class ParticipantsFilterForm(PagerForm):
 class ParticipantsActionForm(FlaskForm):
     action_on = wtforms.RadioField(
         "Provést akci na", validators=[validators.DataRequired()],
-        choices=[('all', 'všech vyfiltrovaných účastnících'), ('checked', 'označených účastnících')]
+        choices=[('all', 'všech vyfiltrovaných účastnících'), ('checked', 'zaškrtnutých účastnících')],
+        default='checked',
         # checkboxes are handled not through FlaskForm, see below
     )
 
diff --git a/mo/web/templates/parts/org_participants_table_actions.html b/mo/web/templates/parts/org_participants_table_actions.html
index 9838f834..1e27b5f9 100644
--- a/mo/web/templates/parts/org_participants_table_actions.html
+++ b/mo/web/templates/parts/org_participants_table_actions.html
@@ -23,8 +23,8 @@
 			</label>
 		</div><div class="col-sm-5 radio">
 			<label>
-				<input id="action_on-1" name="action_on" type="radio" value="checked" required{% if action_form.action_on.data == 'all' %} checked{% endif %}>
-				označených účastnících
+				<input id="action_on-1" name="action_on" type="radio" value="checked" required{% if action_form.action_on.data == 'checked' %} checked{% endif %}>
+				pouze zaškrtnutých účastnících
 			</label>
 		</div>
 	</div>
-- 
GitLab