summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhardythe12013-10-14 16:37:26 +0530
committerhardythe12013-10-14 16:37:26 +0530
commit0235fb9fe9bd79206aa0f0c5a5e7d5a5f879130e (patch)
treef3ecb01ef05809f2620af7365003ef15777364bf
parent4eef2e49dccf979a27790ef7d6db0c5aba187dd9 (diff)
downloadSciPy2013-0235fb9fe9bd79206aa0f0c5a5e7d5a5f879130e.tar.gz
SciPy2013-0235fb9fe9bd79206aa0f0c5a5e7d5a5f879130e.tar.bz2
SciPy2013-0235fb9fe9bd79206aa0f0c5a5e7d5a5f879130e.zip
updating forms
-rw-r--r--scipy/forms.py3
-rw-r--r--scipy/templates/login.html4
-rw-r--r--website/templates/papers.html5
3 files changed, 8 insertions, 4 deletions
diff --git a/scipy/forms.py b/scipy/forms.py
index 77c2b96..281e929 100644
--- a/scipy/forms.py
+++ b/scipy/forms.py
@@ -36,6 +36,7 @@ class DocumentUploadForm(forms.ModelForm):
widgets = {
'title':forms.TextInput(attrs={'placeholder':'Title of your Talk'}),
'objective':forms.TextInput(attrs={'placeholder':'Objective of the talk'}),
- 'abstract':forms.Textarea(attrs={'placeholder':'Abstract in 400 to 700 '}),
+ 'abstract':forms.Textarea(attrs={'placeholder':'Abstract in 400 to 700 words'}),
+ 'bio':forms.Textarea(attrs={'placeholder':'Tell us something about yourself in a few words'}),
'links':forms.TextInput(attrs={'placeholder':'Link to the code (if any) or relevant links'}),
}
diff --git a/scipy/templates/login.html b/scipy/templates/login.html
index 31cdbdc..a9ba696 100644
--- a/scipy/templates/login.html
+++ b/scipy/templates/login.html
@@ -4,9 +4,9 @@
<form class="form-signin" action="/2013/accounts/login/" method="POST" enctype="multipart/form-data"> {% csrf_token %}
<h3 class="form-signin-heading">Please sign in</h3>
{{ form.as_p }}
- <input type="hidden" name = "next" value="{{ next }}">
+ <input type="hidden" name = "next" value="/2013/{{ next }}">
<button class="success expand" type="submit">Sign in</button>
</form>
- <h6>Dont have an scipy account? <a href="/accounts/register"><u>Register Here.</u></a></h6>
+ <h6>Dont have an scipy account? <a href="/2013/accounts/register"><u>Register Here.</u></a></h6>
</div>
{% endblock %}
diff --git a/website/templates/papers.html b/website/templates/papers.html
index 767132c..b1932f1 100644
--- a/website/templates/papers.html
+++ b/website/templates/papers.html
@@ -2,7 +2,10 @@
{% block content %}
<div class="row">
{% if status == "up" %}
-<h4>We have succcessfully received your proposal. Thank You !</h4>
+<div data-alert class="alert-box success">
+<p>We have succcessfully received your proposal. Thank You !</p>
+<a href="#" class="close">&times;</a>
+</div>
{% endif %}
<h4>Call for Proposals</h4>
<p align="justify">