Skip to content
Extraits de code Groupes Projets
Valider a18db43f rédigé par Delphine van Rossum's avatar Delphine van Rossum Validation de Brieuc Dubois
Parcourir les fichiers

consent form field mandatory

parent cab3d946
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!38New studies & tests logic
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
<!-- Consent Section --> <!-- Consent Section -->
<h3 class="py-2 px-1">{$t('register.consent.title')}</h3> <h3 class="py-2 px-1">{$t('register.consent.title')}</h3>
<label class="label text-sm" for="consentParticipation" <label class="label text-sm" for="consentParticipation"
>{$t('register.consent.participation')}</label >{$t('register.consent.participation')} *</label
> >
<textarea <textarea
use:autosize use:autosize
...@@ -217,25 +217,28 @@ ...@@ -217,25 +217,28 @@
id="consentParticipation" id="consentParticipation"
name="consentParticipation" name="consentParticipation"
bind:value={consentParticipation} bind:value={consentParticipation}
required
></textarea> ></textarea>
<label class="label text-sm" for="consentPrivacy">{$t('register.consent.privacy')}</label> <label class="label text-sm" for="consentPrivacy">{$t('register.consent.privacy')} *</label>
<textarea <textarea
use:autosize use:autosize
class="input w-full max-h-52" class="input w-full max-h-52"
id="consentPrivacy" id="consentPrivacy"
name="consentPrivacy" name="consentPrivacy"
bind:value={consentPrivacy} bind:value={consentPrivacy}
required
></textarea> ></textarea>
<label class="label text-sm" for="consentRights">{$t('register.consent.rights')}</label> <label class="label text-sm" for="consentRights">{$t('register.consent.rights')} *</label>
<textarea <textarea
use:autosize use:autosize
class="input w-full max-h-52" class="input w-full max-h-52"
id="consentRights" id="consentRights"
name="consentRights" name="consentRights"
bind:value={consentRights} bind:value={consentRights}
required
></textarea> ></textarea>
<label class="label text-sm" for="consentStudyData" <label class="label text-sm" for="consentStudyData"
>{$t('register.consent.studyData.title')}</label >{$t('register.consent.studyData.title')} *</label
> >
<textarea <textarea
use:autosize use:autosize
...@@ -243,6 +246,7 @@ ...@@ -243,6 +246,7 @@
id="consentStudyData" id="consentStudyData"
name="consentStudyData" name="consentStudyData"
bind:value={consentStudyData} bind:value={consentStudyData}
required
></textarea> ></textarea>
{#if mode === 'create'} {#if mode === 'create'}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter