]> git.bts.cx Git - cx.git/blob - cx/templates/admin/post.php
Fix? CSS for images in posts
[cx.git] / cx / templates / admin / post.php
1 <?php cx_template_base('base'); ?>
2
3 <form action="<?= cx_url_admin('/posts/update?id=' . $post_id); ?>" method="post">
4
5 <p>title: <input name="post_title" type="text" value="<?= $post_title ?>"></p>
6 <p>slug: <input name="post_slug" type="text" value="<?= $post_slug ?>"></p>
7 <p>date: <input name="post_date" type="text" value="<?= $post_date ? date('Y-m-d H:i:s', $post_date) : "" ?>"></p>
8 <p>draft: <input name="post_is_draft" type="checkbox" value="draft" <?= $post_is_draft ? "checked" : "" ?>></p>
9 <p><textarea name="post_data" cols="60" rows="40"><?= $post_data ?></textarea></p>
10
11 <p><input type="submit" value="update"></p>
12 </form>