Skip to content

Commit

Permalink
Merge branch 'master' of git.assembla.com:lp-cdw.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cybertoast committed Dec 7, 2013
2 parents e7431d6 + 9cbbdef commit 3228efb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cdw/templates/profile_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h4 style="text-align:right; margin:0 20px;"><a href="/profile">Back to Profile<
</div>
<div class="panel-content">
<form action="/profile/edit" method="POST">
{{ form.csrf }}
{{ form.csrf_token }}
<div class="form-item span-18 append-10">
<p>{{ form.username.label }}</p>
{% if form.username.errors %}
Expand Down Expand Up @@ -62,7 +62,7 @@ <h4 style="text-align:right; margin:0 20px;"><a href="/profile">Back to Profile<
<p class='verify-msg'></p>
<div class="verify-phone">
<form action="/verify/phone" method="POST" class="phone">
{{ phoneForm.csrf }}
{{ phoneForm.csrf_token }}
{{ phoneForm.phonenumber }}
<div class="form-item span-30">
<div class="span-14">
Expand Down
4 changes: 2 additions & 2 deletions cdw/templates/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="prepend-2 span-43 append-2 register-view">
<h3 class="sub-title">Create an Account</h3>
<form action="/register" method="POST" class="register">
{{ form.csrf }}
{{ form.csrf_token }}
<p>
{{ form.username.label }}
</p>
Expand Down Expand Up @@ -68,7 +68,7 @@ <h3 class="sub-title">Create an Account</h3>
<p class='verify-msg'></p>
<div class="verify-phone">
<form action="/verify/phone" method="POST" class="phone">
{{ phoneForm.csrf }}
{{ phoneForm.csrf_token }}
{{ phoneForm.phonenumber }}
<div class="form-item span-30">
<p>
Expand Down
2 changes: 1 addition & 1 deletion cdw/templates/suggest.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<h3 class="sub-title">Suggest A Question</h3>
<h4>Please phrase a question as having a <span style="color:#67b6fd;font-weight:700;">YES</span> or <span style="color:#e0681c;font-weight:700;">NO</span> answer.</h4>
<form action="/suggest" method="POST">
{{ form.csrf }}
{{ form.csrf_token }}
<textarea class="question-input" name="question">Enter your question here...</textarea>
<h3 style="font-weight:700;">Tag your question with a category</h3>
<div class="span-43">
Expand Down
4 changes: 3 additions & 1 deletion etc/config.py.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ AUTH = {
'user_service_name': 'cdw',
'password_encryptor': '%(app_auth_password_encryptor)s',
'salt': '%(app_auth_salt)s',
'post_connect_view': 'mobile#profile?new=true'
'post_connect_view': 'mobile#profile?new=true',
# Due to a coding inconsistency we need both connect_view and login_view
'post_login_view': 'mobile#profile?new=true'
}

# Social
Expand Down

0 comments on commit 3228efb

Please sign in to comment.