From 9fc39f497f7916a69ebe4f22467e657a775d7181 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Pracha=C5=99?= <jan.prachar@gmail.com>
Date: Wed, 4 May 2022 15:39:36 +0200
Subject: [PATCH] =?UTF-8?q?org=5Fsubmit=5Flist:=20Zmizel=C3=BD=20formul?=
 =?UTF-8?q?=C3=A1=C5=99=20pro=20smaz=C3=A1n=C3=AD=20=C5=99e=C5=A1en=C3=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mo/web/templates/org_submit_list.html | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mo/web/templates/org_submit_list.html b/mo/web/templates/org_submit_list.html
index 0a01bc27..b7b7a778 100644
--- a/mo/web/templates/org_submit_list.html
+++ b/mo/web/templates/org_submit_list.html
@@ -1,5 +1,6 @@
 {% extends "base.html" %}
 {% import "bootstrap/wtf.html" as wtf %}
+{% set allow_create_solutions=rights.can_create_solutions() %}
 {% set allow_edit_points=rights.can_edit_points() %}
 {% set allow_upload_solutions=rights.can_upload_solutions() %}
 {% set allow_upload_feedback=rights.can_upload_feedback() %}
@@ -227,7 +228,9 @@ Existuje více než jedna verze oprav, finální je podbarvená.
 <div class="form-frame">
 	<h3 style="margin-top: 10px;">Smazání řešení</h3>
 	<p>Toto řešení zatím neobsahuje žádný soubor. Pokud bylo přidáno omylem, můžete ho smazat.</p>
+	<p>
 	{{ wtf.form_field(form.delete, class='btn btn-danger') }}
+	</p>
 </div>
 {% endif %}
 </form>
-- 
GitLab