summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhardythe12014-05-19 18:18:12 +0530
committerhardythe12014-05-19 18:18:12 +0530
commite12c15d9049b1f991d072732949963b5a0d32c20 (patch)
tree596dbc2066a59cf93bb72567e5b2911a8ae9a672
parentdca37168a8dfdc61e950e746dd4f9fb0aca06eac (diff)
downloadPython-TBC-Interface-e12c15d9049b1f991d072732949963b5a0d32c20.tar.gz
Python-TBC-Interface-e12c15d9049b1f991d072732949963b5a0d32c20.tar.bz2
Python-TBC-Interface-e12c15d9049b1f991d072732949963b5a0d32c20.zip
editing place holders
-rw-r--r--tbc/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbc/forms.py b/tbc/forms.py
index 8fc6e22..327c32a 100644
--- a/tbc/forms.py
+++ b/tbc/forms.py
@@ -59,7 +59,7 @@ class BookForm(forms.ModelForm):
self.fields['isbn'].label = "ISBN No."
self.fields['edition'].label = "Book Edition"
self.fields['year_of_pub'].label = "Year of Publication"
- self.fields['no_chapters'].label = "Number of Chapter"
+ self.fields['no_chapters'].label = "Number of Chapters"
class Meta:
model = Book
exclude = ('contributor', 'approved', 'reviewer')
@@ -70,5 +70,5 @@ class BookForm(forms.ModelForm):
'isbn':forms.TextInput(attrs={'placeholder':'Valid ISBN no. of the Book'}),
'edition':forms.TextInput(attrs={'placeholder':'Edition of the Book'}),
'year_of_pub':forms.TextInput(attrs={'placeholder':'Year when the Book was published'}),
- 'no_chapters':forms.TextInput(attrs={'placeholder':'Total number of chapters in the Book'}),
+ 'no_chapters':forms.TextInput(attrs={'placeholder':'Total number of chapters in the Book (only include chapters that have solved examples)'}),
}