Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add proposal leave template

  • Loading branch information...
commit 0bc662327024daa361b4292b1245b25802fd99c9 1 parent 6495234
@lukeman lukeman authored
View
2  symposion/settings.py
@@ -235,7 +235,7 @@
ACCOUNT_SIGNUP_REDIRECT_URL = "dashboard"
ACCOUNT_LOGIN_REDIRECT_URL = "dashboard"
ACCOUNT_LOGOUT_REDIRECT_URL = "home"
-ACCOUNT_USER_DISPLAY = lambda user: user.email
+ACCOUNT_USER_DISPLAY = lambda user: user.get_full_name()
# Need these to be reversed urls, currently breaks if using reverse_lazy
SOCIAL_AUTH_LOGIN_REDIRECT_URL = "/2013/dashboard/"
View
13 symposion/templates/proposals/proposal_leave.html
@@ -0,0 +1,13 @@
+{% extends "proposals/base.html" %}
+
+{% load uni_form_tags %}
+
+{% block body %}
+ <h3>Leaving {{ proposal.title }}</h3>
+
+ <form method="POST" action="" enctype="multipart/form-data">
+ {% csrf_token %}
+ <p>Are you sure you wish to leave as a speaker on <b>{{ proposal.title }}</b>?</p>
+ <input type="submit" class="btn btn-primary" value="I am sure" />
+ </form>
+{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.