From 6f33bba605743a61c0a298c38b24196079960fad Mon Sep 17 00:00:00 2001
From: Alice <alice.poggioli@hotmail.fr>
Date: Tue, 24 Sep 2019 14:11:12 +0200
Subject: [PATCH] Add sib-form-file-custom to all the file upload input.

---
 src/includes/entrepreneur/profile/create.pug | 2 +-
 src/includes/entrepreneur/profile/edit.pug   | 2 +-
 src/includes/mentor/profile/create.pug       | 2 +-
 src/includes/mentor/profile/edit.pug         | 2 +-
 src/includes/mentor/resources/edit.pug       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/includes/entrepreneur/profile/create.pug b/src/includes/entrepreneur/profile/create.pug
index a76b9c97..28150969 100644
--- a/src/includes/entrepreneur/profile/create.pug
+++ b/src/includes/entrepreneur/profile/create.pug
@@ -27,7 +27,7 @@ sib-form#entrepreneur_profile_creation.block_log.block_creat_count(
     widget-username='sib-form-hidden'
 
     upload-url-account.picture=`${sdn}upload/`
-    widget-account.picture='sib-form-file'
+    widget-account.picture='sib-form-file-custom'
     class-account.picture='input_photo w_25'
     
     submit-button="COMPLETE YOUR ACCOUNT"
diff --git a/src/includes/entrepreneur/profile/edit.pug b/src/includes/entrepreneur/profile/edit.pug
index a437cc5d..e6581d77 100644
--- a/src/includes/entrepreneur/profile/edit.pug
+++ b/src/includes/entrepreneur/profile/edit.pug
@@ -24,7 +24,7 @@ sib-form#entrepreneur_profile_edition.block_log.block_creat_count(
     widget-entrepreneur_profile.organisation='sib-form-auto-completion'
 
     upload-url-account.picture=`${sdn}upload/`
-    widget-account.picture='sib-form-file'
+    widget-account.picture='sib-form-file-custom'
     class-account.picture='input_photo w_25'
 
     submit-button="Save modifications"
diff --git a/src/includes/mentor/profile/create.pug b/src/includes/mentor/profile/create.pug
index d1bf6235..629488e4 100644
--- a/src/includes/mentor/profile/create.pug
+++ b/src/includes/mentor/profile/create.pug
@@ -61,7 +61,7 @@ sib-form#mentor_profile_creation.block_log.block_creat_count(
     widget-mentor_profile.fields='sib-form-auto-completion'
 
     upload-url-account.picture=`${sdn}upload/`
-    widget-account.picture='sib-form-file'
+    widget-account.picture='sib-form-file-custom'
     class-account.picture='input_photo w_25'
     class-headline='w_75'
 
diff --git a/src/includes/mentor/profile/edit.pug b/src/includes/mentor/profile/edit.pug
index 3d2d1626..7e1cc6e9 100644
--- a/src/includes/mentor/profile/edit.pug
+++ b/src/includes/mentor/profile/edit.pug
@@ -53,7 +53,7 @@ sib-form#mentor_profile_edition.block_log.block_creat_count(
     widget-mentor_profile.fields='sib-form-auto-completion'
 
     upload-url-account.picture=`${sdn}upload/`
-    widget-account.picture='sib-form-file'
+    widget-account.picture='sib-form-file-custom'
     class-account.picture='input_photo w_25'
     class-headline='w_75'
 
diff --git a/src/includes/mentor/resources/edit.pug b/src/includes/mentor/resources/edit.pug
index 66dc47a2..03860a22 100644
--- a/src/includes/mentor/resources/edit.pug
+++ b/src/includes/mentor/resources/edit.pug
@@ -77,7 +77,7 @@ p.p_entete Thank you for enriching our database !
         widget-publication_year='sib-form-number'
 
         upload-url-preview_image=`${sdn}upload/`
-        widget-preview_image='sib-form-file'
+        widget-preview_image=''
         class-preview_image='input_photo w_25'
 
         submit-button='Send for validation ->'
-- 
GitLab