Skip to main content

Content

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

{{
form.content({
'label': 'It’s the remix to ignition',
'value': 'Hot and fresh out the kitchen'
})
}}

Helper options

You can configure this helper using the common helper options, the following options are specific to this helper.

OptionTypeDescription
rawbool

If true, Instead of wrapping the value in a <p>, just render the value/helper instead (default: false).

Using true will also prevent any options that would normally be added to the paragraph from being used