Skip to content

Heading

ruby
heading "User information"
Heading field

The Heading field displays a header that acts as a separation layer between different sections.

Heading is not assigned to any column in the database and is only visible on the Show, Edit and Create views.

Options

as_html

The as_html option will render it as HTML.

ruby
heading '<div class="underline text-gray-800 uppercase">Address fields</,div>', as_html: true

Default

false

Possible values

true, false