diff --git a/HISTORY.rst b/HISTORY.rst index 00493b74b9..18b6ae0d35 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -11,6 +11,7 @@ - Dependencies: Update Python dependencies version. Remove django suit as a dependency. - Appearance: Remove unused form_empty_label flag. +- Appearance: Allow subclassing the text area widget. 3.1.9 (2018-11-01) ================== diff --git a/mayan/apps/appearance/templates/appearance/forms/widgets/textareadiv.html b/mayan/apps/appearance/templates/appearance/forms/widgets/textareadiv.html index 0886f0c8ca..0cc4a569f1 100644 --- a/mayan/apps/appearance/templates/appearance/forms/widgets/textareadiv.html +++ b/mayan/apps/appearance/templates/appearance/forms/widgets/textareadiv.html @@ -1,2 +1,2 @@
-{% if widget.value %}{{ widget.value }}{% endif %}
+{% block widget_value %}{% if widget.value %}{{ widget.value }}{% endif %}{% endblock %}