diff options
Diffstat (limited to 'src/view/templates/blog.php')
-rw-r--r-- | src/view/templates/blog.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/view/templates/blog.php b/src/view/templates/blog.php index 35cac8b..e2066c8 100644 --- a/src/view/templates/blog.php +++ b/src/view/templates/blog.php | |||
@@ -1,6 +1,10 @@ | |||
1 | <section class="blog"> | 1 | <section class="blog" id="<?= $this->id_node ?>"> |
2 | <h3><?= $title ?></h3> | 2 | <h3><?= $title ?></h3> |
3 | <?= $new_article ?> | 3 | <?= $new_article ?> |
4 | <?= $new_article_admin_buttons ?> | 4 | <script> |
5 | var clone<?= $this->id_node ?> = document.currentScript.previousElementSibling.cloneNode(true); | ||
6 | </script> | ||
7 | <div> | ||
5 | <?= $content ?> | 8 | <?= $content ?> |
9 | </div> | ||
6 | </section> \ No newline at end of file | 10 | </section> \ No newline at end of file |