Skip to content

Latest commit

 

History

History

components

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Components

There are a few different types of component which should be used in different ways.

Blocks

Block-type components use wagtail blocks for use in a streamfield.

example: ActionLink

Templatetags

Templatetag-type components can be included in templates with django templatetags.

example: Breadcrumb

Template includes

Template includes can be used with the {% include %} tag in your templates.

example: Header (via templates)

Settings

Wagtail site settings must be enabled with the wagtailnhsukfrontend.settings app.

example: Header (via settings)

Forms

Form rendering needs to be enabled with some config changes. See the forms documentation

List of Components