Zaktualizuj 'admin-zone/add_post.php'

This commit is contained in:
Szymon Polak 2018-12-17 21:39:50 +00:00
parent f3bc8ecd9d
commit a2356c7994

View File

@ -50,12 +50,14 @@ else{
</div> </div>
</div> </div>
</nav> </nav>
<form method="post" action="insert.php" ENCTYPE="multipart/form-data"> <div class="flex-row">
<div class="flex-column">
<form method="post" action="insert.php" ENCTYPE="multipart/form-data">
<div class="addPostForm"> <div class="addPostForm">
<p>Tytul posta</p> <p>Tytuł</p>
<input type="text" name="title" size="120"> <input type="text" class="form-control" name="title" size="120">
<p>Meta opis</p> <p>Meta opis</p>
<input name="meta_desc" size="120"> <input type="text" class="form-control" name="meta_desc" size="120">
<p>Treść posta</p> <p>Treść posta</p>
<textarea name="post_text" id="editor1" rows="10" cols="80"></textarea> <textarea name="post_text" id="editor1" rows="10" cols="80"></textarea>
<p>Zdjęcie posta</p> <p>Zdjęcie posta</p>
@ -63,8 +65,9 @@ else{
<input type="file" name="avatar" accept="image/*" required /> <input type="file" name="avatar" accept="image/*" required />
<input type="submit" class="btn btn-success" value="Dodaj post"> <input type="submit" class="btn btn-success" value="Dodaj post">
</div> </div>
</form> </form>
</div>
</div>
</div> </div>
</div> </div>