diff --git a/.forestry/front_matter/templates/single.yml b/.forestry/front_matter/templates/single.yml index 17edcdff9f676b6d9ee7a0936f9c28194566f582..a139d7d96e1a0f590f9fd0fcebbc21b3abda8217 100644 --- a/.forestry/front_matter/templates/single.yml +++ b/.forestry/front_matter/templates/single.yml @@ -125,15 +125,6 @@ fields: showOnly: field: header_text value: Texte personnalisé - - name: actions - type: list - config: - use_select: false - min: '0' - max: '5' - source: - type: simple - label: Boutons - name: caption type: text config: @@ -142,6 +133,39 @@ fields: value: Banderole label: Crédits description: Apparaitra tout petit en bas à droite de l'image + - name: actions + type: field_group_list + fields: + - name: label + type: text + config: + required: false + label: Label + - name: url + type: text + config: + required: false + label: URL + - name: fa-icon + type: select + default: [] + config: + required: false + options: + - facebook + - calendrier + - helloasso + source: + type: simple + section: + file: + path: + label: Icone + config: + min: '0' + max: '5' + labelField: label + label: Boutons label: Entête showOnly: field: has_header