73,6 → 73,7 |
<div class="register-section" id="basic-details-section"> |
<h2>Meta-données</h2> |
|
<?php //var_dump($widget); ?> |
<label for="projet">Projet *</label> |
<input type="text" name="projet" id="projet" pattern="[a-z]*" <?php echo ($mode === 'modification') ? 'value="'.$widget['projet'].'" readonly' : 'required'; ?> title="Champ obligatoire : pas d'espace" /> |
|
118,7 → 119,7 |
<input type="file" class="input-file" name="logo" id="logo" accept="image" /> |
<label for="logo" class="label-file"><i class="fas fa-download"></i> Logo</label> |
</div> |
<p class="file-return"></p> |
<div class="file-return logo"></div> |
|
<?php echo isset($widget['logo']) ? '<img src="'.$widget['logo'].'" /><br />Pour changer, télécharger un nouveau fichier.': ''; ?> |
|
126,7 → 127,7 |
<input type="file" class="input-file" name="fond" id="fond" value="<?php echo $widget['titre']; ?>" /> |
<label for="fond" class="label-file"><i class="fas fa-download"></i> Image de fond</label> |
</div> |
<p class="file-return"></p> |
<div class="file-return fond"></div> |
</div><!-- #profile-details-description-section --> |
|
<div class="register-section" id="profile-details-fields-section"> |
164,7 → 165,7 |
<label for="especes"class="label-file"><i class="fas fa-download"></i> Espèces</label> |
fichier type |
</div> |
<p class="file-return"></p> |
<p class="file-return especes"></p> |
|
|
<label for="add_fields">Ajouter un champ</label> |