aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/backtopbar.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates/backtopbar.php')
-rw-r--r--app/view/templates/backtopbar.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/view/templates/backtopbar.php b/app/view/templates/backtopbar.php
index 91ccd89..8e15d14 100644
--- a/app/view/templates/backtopbar.php
+++ b/app/view/templates/backtopbar.php
@@ -3,7 +3,8 @@
<span id="search">
<form action="<?= $this->url('search') ?>" method="post">
<input type="text" name="id" id="id" placeholder="page id" required>
-<input type="submit" value="go">
+<input type="submit" name="action" value="read">
+<?= $user->iseditor() ? '<input type="submit" name="action" value="edit">' : '' ?>
</form>
</span>