aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/edittabs.php
diff options
context:
space:
mode:
authorVincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com>2019-10-21 23:52:50 +0200
committerGitHub <noreply@github.com>2019-10-21 23:52:50 +0200
commit26c93a796eceb3de136695548ab80e5455bd932a (patch)
treefa1f36802cdae44625a7a87960c5347e127f326d /app/view/templates/edittabs.php
parentba671a7c0880f8154a7b86d4cb172b0171e84021 (diff)
parent016dc180d41c28c8fb0883b09a55b69cb060a0c1 (diff)
downloadwcms-26c93a796eceb3de136695548ab80e5455bd932a.tar.gz
wcms-26c93a796eceb3de136695548ab80e5455bd932a.zip
Merge pull request #13 from n-peugnet/add-code-mirror
Include CodeMirror in edit page
Diffstat (limited to 'app/view/templates/edittabs.php')
-rw-r--r--app/view/templates/edittabs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/templates/edittabs.php b/app/view/templates/edittabs.php
index 0829c48..c890677 100644
--- a/app/view/templates/edittabs.php
+++ b/app/view/templates/edittabs.php
@@ -13,9 +13,9 @@ foreach ($tablist as $key => $value) {
echo '<div class="content">';
if ($key == $opentab) {
- echo '<textarea name="' . $key . '" id="' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" autofocus >' . $value . '</textarea>';
+ echo '<textarea name="' . $key . '" id="edit' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" autofocus >' . $value . '</textarea>';
} else {
- echo '<textarea name="' . $key . '" id="' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">' . $value . '</textarea>';
+ echo '<textarea name="' . $key . '" id="edit' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">' . $value . '</textarea>';
}
echo '</div>';
echo '</div>';