Content
Supported products
- Central CMS
- Central Forms
- Central Connect
Generates a paragraph of text where an input would normally be positioned within a form while still allowing a regular form label to illustrate it.
Useful for presenting non-editable information within a form where you’d prefer not to use a disabled input.
It’s the remix to ignition
Hot and fresh out the kitchen
Basic usage
- Twig
- HTML
{{
form.content({
'label': 'It’s the remix to ignition',
'value': 'Hot and fresh out the kitchen'
})
}}
<div class="form__group">
<span class="control__label">It’s the remix to ignition</span>
<div class="controls">
<p>Hot and fresh out the kitchen</p>
</div>
</div>
Helper options
You can configure this helper using the common helper options, the following options are specific to this helper.
Option | Type | Description |
---|---|---|
raw | bool | If Using |