Class: LabelDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- LabelDrop
- Defined in:
- app/drops/label_drop.rb
Overview
The value of a label setting on a section.
A Label setting shows a select box with all labels in your account while you are editing. So if you have a setting like this in your section's schema:
{
"type": "label",
"label": "Which simplero label",
"id": "filter_by"
}
You'll see a select box on the left sidebar while editing your page/landing_page and you can then access the selected value in your liquid template using something like:
{{ section.settings.filter_by.name }}