summaryrefslogtreecommitdiff
path: root/fossee_manim/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'fossee_manim/forms.py')
-rw-r--r--fossee_manim/forms.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/fossee_manim/forms.py b/fossee_manim/forms.py
index 7dfdc77..69f8458 100644
--- a/fossee_manim/forms.py
+++ b/fossee_manim/forms.py
@@ -250,9 +250,16 @@ class AnimationProposal(forms.ModelForm):
def __init__(self, *args, **kwargs):
super(AnimationProposal, self).__init__(*args, **kwargs)
self.fields['subcategory'].widget.attrs['placeholder'] = 'Eg: Quantum Mechanics, Topology'
- self.fields['outline'].widget.attrs['placeholder'] = 'NOTE:-Do\
- add info about prerequisites (if any), possible textbooks and \
- any other related information'
+ # self.fields['outline'].widget.attrs['placeholder'] = 'NOTE: Do\
+ # add info about prerequisites (if any), possible textbooks and \
+ # any other related information'
+ self.fields['outline'].widget.attrs={
+ 'id': 'custom_editor',
+ 'rows': 10,
+ 'cols': 50,
+ 'placeholder': ('NOTE: Do add info about prerequisites (if any), possible textbooks and '
+ 'any other related information')
+ }
class Meta:
model = Animation