0001-forms-fix-comment-field-to-respect-is_hidden-attribu.patch
wcs/qommon/templates/qommon/forms/widgets/comment.html | ||
---|---|---|
1 | 1 |
<div {% if widget.field.id %}data-field-id="{{ widget.field.id }}"{% endif %} |
2 |
{% if widget.is_hidden %}style="display: none"{% endif %} |
|
2 | 3 |
class="comment-field {{widget.extra_css_class|default_if_none:"" }}"> |
3 | 4 |
{% block widget-content %} |
4 | 5 |
{{ widget.content|safe }} |
5 |
- |