Skip to content

Commit 93262ad

Browse files
committed
Avoid undefined class name
1 parent f0f3f20 commit 93262ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/@apostrophecms/area/views/area.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{# area needs its own copy of the widget options as #}
22
{# JSON, for adding new widgets #}
33

4-
<div class="apos-area{{ (' ' + data._with.className) or '' }}" {%- if data.canEdit %} data-apos-area-newly-editable data-doc-id='{{ data.area._docId | jsonAttribute({ single: true }) }}' data-field-id='{{ data.field._id | jsonAttribute({ single: true }) }}' data-options='{{ apos.util.omit(data.options, 'area') | jsonAttribute({ single: true }) }}' data='{{ data.area | jsonAttribute({ single: true }) }}' data-choices='{{ data.choices | jsonAttribute({ single: true }) }}'{% endif %}{%- if data._with.style %} style="{{ data._with.style }}"{% endif %}>
4+
<div class="apos-area{{ (' ' + data._with.className) if data._with.className }}" {%- if data.canEdit %} data-apos-area-newly-editable data-doc-id='{{ data.area._docId | jsonAttribute({ single: true }) }}' data-field-id='{{ data.field._id | jsonAttribute({ single: true }) }}' data-options='{{ apos.util.omit(data.options, 'area') | jsonAttribute({ single: true }) }}' data='{{ data.area | jsonAttribute({ single: true }) }}' data-choices='{{ data.choices | jsonAttribute({ single: true }) }}'{% endif %}{%- if data._with.style %} style="{{ data._with.style }}"{% endif %}>
55
{%- for item in data.area.items -%}
66
{%- set widgetOptions = data.options.widgets[item.type] or {} -%}
77
{%- if data.options.widgetTemplate -%}

0 commit comments

Comments
 (0)