summaryrefslogtreecommitdiff
path: root/views/edit/error.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2017-02-27 12:31:06 -0800
committerAaron Parecki <aaron@parecki.com>2017-02-27 12:31:06 -0800
commit1123ed958f7c22116a0c432779aaf1c27fcaf787 (patch)
tree3000bb267e65efb8561c459b7a38d07bda690231 /views/edit/error.php
parentbb5fd837d12d125f908feb09808df3f6db1fe817 (diff)
basic editing support
* new route `/edit?url=` intended to be used as an edit button target, which detects the type of post and redirects to the appropriate editing interface * implemented the edit interface for favorites
Diffstat (limited to 'views/edit/error.php')
-rw-r--r--views/edit/error.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/edit/error.php b/views/edit/error.php
new file mode 100644
index 0000000..ede6e0d
--- /dev/null
+++ b/views/edit/error.php
@@ -0,0 +1,13 @@
+<div class="narrow">
+ <?= partial('partials/header') ?>
+
+ <h1>Error</h1>
+
+ <p><?= htmlspecialchars($this->summary) ?></p>
+
+ <div class="bs-callout bs-callout-danger">
+ <h4><?= htmlspecialchars($this->error) ?></h4>
+ <?= htmlspecialchars($this->error_description) ?>
+ </div>
+
+</div> \ No newline at end of file