aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/edit.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2019-01-30 21:15:17 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-01-30 23:16:26 +0100
commit8ac5a09605992f1e434cb793ceca7497c6f46d23 (patch)
tree091f9879f8f94b849300fef2d1a1238f3881f78e /app/view/templates/edit.php
parent396a5776cd043e899e4897ec50fc8edc52585512 (diff)
downloadwcms-8ac5a09605992f1e434cb793ceca7497c6f46d23.tar.gz
wcms-8ac5a09605992f1e434cb793ceca7497c6f46d23.zip
feat: editBy to store the current editor of an art
Diffstat (limited to 'app/view/templates/edit.php')
-rw-r--r--app/view/templates/edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/view/templates/edit.php b/app/view/templates/edit.php
index 7c6610a..8d79174 100644
--- a/app/view/templates/edit.php
+++ b/app/view/templates/edit.php
@@ -24,6 +24,9 @@
</main>
+<script>
+ const artid = '<?= $art->id() ?>';
+</script>
<script src="<?= Model::jspath() ?>edit.js"></script>
</body>