From 143174a1a8825ca22a19cf51550e1d5c90c5652a Mon Sep 17 00:00:00 2001
From: Cult Ure <webmasters@luminy.org>
Date: Sun, 24 Nov 2019 16:24:27 +0000
Subject: [PATCH] Update from Forestry.io - Updated Forestry configuration

---
 .forestry/front_matter/templates/single.yml | 42 ++++++++++++++++-----
 1 file changed, 33 insertions(+), 9 deletions(-)

diff --git a/.forestry/front_matter/templates/single.yml b/.forestry/front_matter/templates/single.yml
index 17edcdf..a139d7d 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
-- 
GitLab