From e12c15d9049b1f991d072732949963b5a0d32c20 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Mon, 19 May 2014 18:18:12 +0530 Subject: editing place holders --- tbc/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tbc/forms.py') 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)'}), } -- cgit