-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Conditionner l'affichage du bloc en fonction de si la compl…
- Loading branch information
Showing
19 changed files
with
405 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
certif/app/components/complementary-certification-options.hbs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
certif/app/components/new-candidate-modal/complementary-list.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div class="new-candidate-modal-form__field"> | ||
<fieldset id="complementary-certifications"> | ||
<legend class="label"> | ||
{{t "common.forms.certification-labels.additional-certification"}} | ||
</legend> | ||
<PixRadioButton name="complementary-certifications" {{on "change" (fn @updateComplementaryCertification null)}}> | ||
<:label>{{t "common.labels.candidate.none"}}</:label> | ||
</PixRadioButton> | ||
{{#each @complementaryCertificationsHabilitations as |complementaryCertificationHabilitation|}} | ||
<PixRadioButton | ||
name="complementary-certifications" | ||
{{on "change" (fn @updateComplementaryCertification complementaryCertificationHabilitation)}} | ||
> | ||
<:label>{{complementaryCertificationHabilitation.label}}</:label> | ||
</PixRadioButton> | ||
{{/each}} | ||
</fieldset> | ||
</div> |
13 changes: 13 additions & 0 deletions
13
certif/app/components/new-candidate-modal/complementary-with-referential.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div class="new-candidate-modal-form__field"> | ||
<fieldset id="is-complementary-alone"> | ||
<legend class="label"> | ||
{{t "common.forms.certification-labels.complementary-alone"}} | ||
</legend> | ||
<PixRadioButton name="complementary-alone"> | ||
<:label>{{t "common.labels.complementary-alone.pix-plus"}}</:label> | ||
</PixRadioButton> | ||
<PixRadioButton name="complementary-alone"> | ||
<:label>{{t "common.labels.complementary-alone.pix-and-pix-plus"}}</:label> | ||
</PixRadioButton> | ||
</fieldset> | ||
</div> |
Oops, something went wrong.