diff options
Diffstat (limited to 'scipy')
-rw-r--r-- | scipy/forms.py | 3 | ||||
-rw-r--r-- | scipy/templates/login.html | 4 |
2 files changed, 4 insertions, 3 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 %} |