New feature: Template Dividers

Many of the features in the Perch 2.4 release are aimed at helping you improve the content editing experience for your clients.

One of those features is Template Dividers.

These let you split up a complex template into sections, creating a divider bar and heading in the UI.

To use Template Dividers you can select a template tag that you want the Divider to display after and use the attribute divider-before with a value that will display as text in the bar.

<perch:content id="text" type="textarea" label="Text" textile="true" 
editor="markitup" divider-before="Important information" />

Or you can use divider-after in the same way.

<perch:content id="text" type="textarea" label="Text" textile="true" 
editor="markitup" divider-after="Related material" />

A simple little tweak for longer templates that can help your editors.