From cd411946fa4c2edf5464b9cec5d7b65f54edd86d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Dupr=C3=A9?= <ant.dupre@gmail.com>
Date: Wed, 17 May 2023 10:47:20 +0200
Subject: [PATCH] fix: hide submit button on jobs form

---
 src/custom-tzcld.js          |  2 +-
 src/styles/user-profile.scss | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/custom-tzcld.js b/src/custom-tzcld.js
index 20f16fb..06a04ae 100644
--- a/src/custom-tzcld.js
+++ b/src/custom-tzcld.js
@@ -319,7 +319,7 @@ import("./utils.js").then((utils) => {
         <solid-widget name="customtzcld-form-profile-jobs-widget">
         <template>
         <solid-form
-        class="d-block rowClear"
+        class="d-block rowClear orgs-wrapper"
         data-src="\${value}"
         data-holder
         fields="segment11(position, organisation, link), segment12(address, postal_code), segment13(city, department), segment14(mobile_phone, mobile_phone_public), segment15(phone, phone_public), segment16(email, email_public), sep"
diff --git a/src/styles/user-profile.scss b/src/styles/user-profile.scss
index 15c5e24..37b447b 100644
--- a/src/styles/user-profile.scss
+++ b/src/styles/user-profile.scss
@@ -86,4 +86,12 @@
         font-size: 14px;
         font-weight: 400;
     }
-}
\ No newline at end of file
+}
+
+#members-edit-profile {
+    .orgs-wrapper {
+        input[type="submit"] {
+            display: none;
+        }
+    }
+}
-- 
GitLab