<div class="form-group dso-textarea dso-required">
<div class="dso-label-container">
<label for="input-textarea-infobutton-open" class="control-label">
Wilt u nog wat kwijt?
</label>
<button type="button" class="btn dso-info-button dso-open">
<span class="sr-only">
Toelichting
</span>
</button>
</div>
<div class="dso-field-container">
<textarea class="form-control" id="input-textarea-infobutton-open" required></textarea>
</div>
<div class="dso-info">
<button type="button">
<span class="sr-only">Sluiten</span>
</button>
<div class="dso-rich-content">
<h4>Heading 4</h4>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non metus dolor. Pellentesque velit arcu, pellentesque at lacus sit amet, porta semper est.
Praesent mollis lorem lorem, non varius nisl lacinia et. Integer quis sollicitudin arcu. Nullam lacinia non ipsum sit amet varius.
Praesent consequat ligula id tortor elementum pretium. Integer ligula justo, volutpat sed tellus eu, faucibus fringilla lectus.
</p>
</div>
</div>
</div>
<div class="form-group dso-textarea{{#if state}} dso-{{ state }}{{/if}}{{#if required }} dso-required{{/if}}">
<div class="dso-label-container">
<label for="{{ id }}" class="control-label">
{{ label }}
</label>
{{#if infoText }}
{{> '@info-button' }}
{{/if}}
</div>
<div class="dso-field-container">
<textarea class="form-control" id="{{ id }}"
{{{ifattr 'rows' rows }}}
{{{ifattr 'placeholder' placeholder}}}
{{{ifattr 'disabled' disabled }}}
{{{ifattr 'readonly' readonly }}}
{{{ifattr 'required' required }}}>{{ value }}</textarea>
{{#if errorText }}
{{> '@error-block' }}
{{/if}}
{{#if helpText }}
{{> '@help-block' }}
{{/if}}
</div>
{{#if infoOpen }}
{{> '@info' }}
{{/if}}
</div>
id: input-textarea-infobutton-open
label: Wilt u nog wat kwijt?
__title: Infobutton uitgeklapt
__explanation:
- Toelichting uitgeklapt
required: true
infoOpen: true
infoText: |
<h4>Heading 4</h4>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non metus dolor. Pellentesque velit arcu, pellentesque at lacus sit amet, porta semper est.
Praesent mollis lorem lorem, non varius nisl lacinia et. Integer quis sollicitudin arcu. Nullam lacinia non ipsum sit amet varius.
Praesent consequat ligula id tortor elementum pretium. Integer ligula justo, volutpat sed tellus eu, faucibus fringilla lectus.
</p>
‘Attribuut @rows
is optioneel’