From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Strehler::FormFu::Element::Slug - FormFu Element for Strehler slug field.

DESCRIPTION

A formfu field to show slug in slugged entities. It's a read-only field because slug is automatically managed.

SYNOPSIS

In article form:

- type: "+Strehler::FormFu::Element::Slug"

No parameters, no labels.

GENERATED HTML

<div>
<label>Slug [Automatic]</label>
<span name="slug" class="span8 slug">99-lorem-ipsum</span>
</div>

YAML CONFIGURATION

- name: slug
label: "Slug [Automatic]"
type: label
attributes:
class: "span8 slug"