.
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ class LongForm(ModelForm):
|
|||||||
# "normal": RadioSelect(
|
# "normal": RadioSelect(
|
||||||
# choices=[(True, 'Yes'),
|
# choices=[(True, 'Yes'),
|
||||||
# (False, 'No')])
|
# (False, 'No')])
|
||||||
"mark_scheme" : TinyMCE(attrs={'cols': 80, 'rows': 60})
|
"mark_scheme" : TinyMCE(attrs={'cols': 80, 'rows': 30})
|
||||||
}
|
}
|
||||||
|
|
||||||
def save(self, commit=True):
|
def save(self, commit=True):
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
{% extends "longs/base.html" %}
|
{% extends "longs/base.html" %}
|
||||||
<!-- {% load static from static %} -->
|
<!-- {% load static from static %} -->
|
||||||
|
|
||||||
|
{% block css %}
|
||||||
|
{{form.media}}
|
||||||
|
{% endblock %}
|
||||||
{% block js %}
|
{% block js %}
|
||||||
<!--<script type="text/javascript" src="/admin/jsi18n/"></script>-->
|
<!--<script type="text/javascript" src="/admin/jsi18n/"></script>-->
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user