chemin entre les pages
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
|
||||
<div class="container">
|
||||
<h2 class="mb-5 text-center">Ajouter un article</h2>
|
||||
<form id="ajouterArticleForm" action="../../../blog/categories/articles/liste_article.html" method="GET">
|
||||
|
||||
|
||||
<!--Erreur titre vide-->
|
||||
<div id="errorEmpty" class="alert alert-danger d-none">Le titre de l'article est obligatoire</div>
|
||||
@@ -50,7 +52,7 @@
|
||||
<option value="boutique">
|
||||
</datalist>
|
||||
|
||||
|
||||
|
||||
<!--Titre-->
|
||||
<div class="mb-4">
|
||||
<label class="form-label fw-bold">Titre de l'article (obligatoire)</label>
|
||||
@@ -68,21 +70,23 @@
|
||||
<label class="form-label fw-bold">Image de l'article</label>
|
||||
<input type="file" id="articleImage" class="form-control" accept="image/*">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!--Publié-->
|
||||
<div class="form-check mb-3">
|
||||
<input class="form-check-input" type="checkbox" id="articlePublished">
|
||||
<label class="form-check-label">Publié</label>
|
||||
<input class="form-check-input" type="checkbox" id="articlePublished">
|
||||
<label class="form-check-label" for="articlePublished">Publié</label>
|
||||
</div>
|
||||
|
||||
|
||||
<!--Boutons-->
|
||||
<div class="d-flex gap-3 mt-4">
|
||||
<a href="liste_articles.html" class="btn btn-secondary w-50">Annuler</a>
|
||||
<button type="submit" class="btn btn-primary w-50">Ajouter</button>
|
||||
<a href="../../../blog/categories/articles/liste_article.html" class="btn btn-secondary w-50">Annuler</a>
|
||||
<button type="submit" class="btn btn-primary w-50">Ajouter</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user