-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform-field-rich.html
More file actions
26 lines (26 loc) · 930 Bytes
/
form-field-rich.html
File metadata and controls
26 lines (26 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!-- <pat-form-field-rich> -->
{% assign field_id = include.id %}
{% assign this_placeholder = include.placeholder %}
{% assign field_action = include.action %}
{% capture this_rich_id %}toolbar-{{ include.label | default: 'untitled-rich' | slugify }}{% endcapture %}
<fieldset
class="
{{ include.class }}
group">
<legend>
{% include patterns/form-field-label-conditional.html %}
</legend>
{% include
patterns/form-field-rich-editor.html
action=include.action
toolbar=include.toolbar
allow=include.allow
content=include.content
placeholder=this_placeholder
id=this_rich_id %}
{% if include.help %}
{% include patterns/form-help.html
content=include.help %}
{% endif %}
</fieldset>
<!-- </pat-form-field-rich> -->