From 0b3e63f0c10a11057b601389abf5c154a76731f3 Mon Sep 17 00:00:00 2001 From: Sourav Badami Date: Sun, 3 Sep 2017 12:19:10 +0530 Subject: [PATCH] Redesigned bug hunt page form for consistency. #515 --- website/templates/hunt.html | 49 ++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/website/templates/hunt.html b/website/templates/hunt.html index e2cc61792..be4491d65 100644 --- a/website/templates/hunt.html +++ b/website/templates/hunt.html @@ -31,7 +31,7 @@ border-color:#9B0C1A; } .text-danger { - margin-left:200px; + margin-left:0px; } input[type='file'] { height:auto; @@ -50,30 +50,36 @@
-
-
-

Start a bug hunt!

- All paid plans are currently featured on the homepage under the sponsored bug hunt area. -
-
-
-
+ {% csrf_token %} +
+
+
+

Start a bug hunt!

+ All paid plans are currently featured on the homepage under the sponsored bug hunt area. +
+
+
+
{% csrf_token %}
- - +
+ + + + +
{% if form.url.errors %} {% endif %}
- - +
+ + + + +
{% if form.logo.errors %} {% endif %} @@ -95,15 +101,14 @@

Start a bug hunt!

{{form.prize.errors}}
-
-
-
-
Payments are handled through Paypal. You will be charged from Coderbounty, Inc. (Our current parent company) -

Subscription:

+ {% if not user.is_authenticated %} +
*Login required + {% endif %}
+

Subscription:

{% include '_subscriptions.html' %}