|
|
- <div class="w3-twothird w3-container">
- <h1 class="w3-text-teal w3-center">New Post</h1>
-
- <form action="/admin/" method ="post" class="w3-container w3-card-4">
- <!-- Post category -->
- <div class="w3-group w3-padding-16">
- <input class="w3-input" type="text" name="add_post_category" required>
- <label class="w3-label w3-validate">Category</label>
- </div>
- <!-- Post name -->
- <div class="w3-group w3-padding-16">
- <input class="w3-input" type="text" name="add_post_name" required>
- <label class="w3-label w3-validate">Name</label>
- </div>
- <!-- Post header picture -->
- <div class="w3-group w3-padding-16">
- <input class="w3-input" type="text" name="add_post_picture" value="n/a" required>
- <label class="w3-label w3-validate">Picture</label>
- </div>
-
- <!-- Post date -->
- <div class="w3-group w3-padding-16">
- <input class="w3-input" type="date" name="add_post_date" required>
- <label class="w3-label w3-validate">Date</label>
- </div>
- <p><input type="submit" name="submit" value="Add"
- class="w3-padding-16 w3-hover-dark-grey w3-btn-block w3-center-align"/></p>
- </form>
- </div>
|