summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/static/css/main.css20
-rw-r--r--website/templates/user-register.html10
-rw-r--r--website/views.py2
3 files changed, 27 insertions, 5 deletions
diff --git a/website/static/css/main.css b/website/static/css/main.css
index c0331c5..7cb6991 100644
--- a/website/static/css/main.css
+++ b/website/static/css/main.css
@@ -565,3 +565,23 @@ body .header {
-moz-border-radius: 6px;
border-radius: 6px;
}
+
+.col-md-9 form span {
+ display: block;
+}
+
+.col-md-9 form input {
+ width: 350px;
+ margin-right: 150px;
+}
+
+.col-md-9 form label{
+ min-width: 175px;
+ text-align: right;
+}
+
+.col-md-9 form li {
+ font-size: 15px;
+ list-style-type: none;
+ color: red;
+}
diff --git a/website/templates/user-register.html b/website/templates/user-register.html
index a561847..606c780 100644
--- a/website/templates/user-register.html
+++ b/website/templates/user-register.html
@@ -28,13 +28,15 @@
<div class="row centered">
<h2 class="centered">Sign Up</h2>
<hr>
- <div class="col-md-4">
+ <div class="col-md-3">
</div>
- <div class="col-md-4">
+ <div class="col-md-9">
<form action="" method="POST">
{{ form.as_p }}
- <button class="btn btn btn-primary" type="submit">SignUp</button>
- <a class="btn btn-primary" href="{% url 'website:cfp' %}">I have an account</a>
+ <div class="col-md-8">
+ <button class="btn btn btn-primary" type="submit">SignUp</button>
+ <a class="btn btn-primary" href="{% url 'website:cfp' %}">I have an account</a>
+ </div>
{% csrf_token %}
</form>
</div>
diff --git a/website/views.py b/website/views.py
index 3be9034..fdf019b 100644
--- a/website/views.py
+++ b/website/views.py
@@ -26,7 +26,7 @@ def userregister(request):
form = UserRegisterForm(request.POST)
if form.is_valid():
form.save()
- return HttpResponseRedirect('/2015/accounts/login')
+ return HttpResponseRedirect('/2015/cfp')
else:
context.update(csrf(request))
context['form'] = form