-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(form, upload): error & disabled [DS-2746, DS-2700] (#428)
- Loading branch information
Showing
12 changed files
with
83 additions
and
47 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<% const sample = getSample(include); %> | ||
|
||
<%- sample('Bouton upload 1 seul fichier', './sample/upload.ejs', { upload: {id:'file-upload'}}, true); %> | ||
<%- sample(getText('sample.default', 'upload'), './sample/upload.ejs', { upload: {id:'file-upload'}}, true); %> | ||
|
||
<%- sample('Bouton upload avec erreur', './sample/upload.ejs', { upload: {id:'file-upload-with-error', error: true }}, true); %> | ||
<%- sample(getText('sample.error', 'upload'), './sample/upload.ejs', { upload: {id:'file-upload-with-error', error: true }}, true); %> | ||
|
||
<%- sample(getText('sample.multiple', 'upload'), './sample/upload-multiple.ejs', { upload: {id:'file-upload-multiple' }}, true); %> | ||
|
||
<%- sample(getText('sample.disabled', 'upload'), './sample/upload.ejs', { upload: {id:'file-upload-disabled', disabled: true }}, true); %> | ||
|
||
<%- sample('Bouton upload fichiers multiples', './sample/upload-multiple.ejs', { upload: {id:'file-upload-multiple' }}, true); %> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
subdir: | ||
title: Autres versions | ||
deprecated: version dépréciée | ||
|
||
label: | ||
default: Ajouter un fichier | ||
multiple: Ajouter des fichiers | ||
hint: | ||
default: 'Taille maximale : 500 Mo. Formats supportés : jpg, png, pdf. Plusieurs fichiers possibles. Lorem ipsum dolor sit amet, consectetur adipiscing.' | ||
error: | ||
default: Format de fichier non supporté | ||
sample: | ||
default: Bouton upload 1 seul fichier | ||
error: Bouton upload avec erreur | ||
multiple: Bouton upload fichiers multiples | ||
disabled: Bouton upload désactivé |
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