From 7d93e9b5b742712eb26d4f37202dcd4b3485f9a2 Mon Sep 17 00:00:00 2001
From: antoine37120 <ant.dupre@gmail.com>
Date: Sat, 23 Sep 2023 17:00:32 +0200
Subject: [PATCH] feature: accordion autoeval identity

---
 src/views-terrytories.js | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/views-terrytories.js b/src/views-terrytories.js
index 5999d52..a86d0b3 100644
--- a/src/views-terrytories.js
+++ b/src/views-terrytories.js
@@ -688,17 +688,11 @@ import("./utils.js").then((utils) => {
                     
                     <h2 class="margin-top-xxsmall margin-left-xsmall margin-bottom-medium sm-margin-none sm-margin-right-xsmall sm-margin-bottom-small sm-margin-left-xsmall text-xlarge text-bold text-color-heading text-uppercase">Auto-évaluation</h2>
       
-                    <div class="segment full shadow bg-color-white margin-bottom-xlarge padding-xlarge sm-padding-none whitespace-normal">
-                      <h2 class="margin-bottom-large margin-top-none margin-left-none text-xlarge text-xbold text-color-heading text-color-dark-blue">Carte d’identité du territoire</h2>
-                      <div class="loader" id="loader-${this.route}-general-answer">
-                        <div></div>
-                        <div></div>
-                        <div></div>
-                        <div></div>
-                      </div>
+                    <div class="segment full shadow bg-color-white margin-bottom-large padding-large padding-left-small sm-padding-none whitespace-normal child-accordion">
+                      <h2 class="margin-none margin-top-none margin-left-none text-xlarge text-xbold text-color-heading text-color-dark-blue">Carte d’identité du territoire</h2>
                       
                       <solid-form 
-              class="form" 
+              class="form hidden segment block margin-top-large whitespace-normal padding-left-large padding-right-small" 
               bind-resources
               solid-resource
               partial
@@ -768,6 +762,13 @@ import("./utils.js").then((utils) => {
               
               widget-spacer="span">
             </solid-form>
+            
+                <div class="loader" id="loader-${this.route}-general-answer">
+                  <div></div>
+                  <div></div>
+                  <div></div>
+                  <div></div>
+                </div>
       
                     </div>
                     <div class="segment block shadow bg-color-white sm-margin-none">
-- 
GitLab