aboutsummaryrefslogtreecommitdiff
path: root/views/newlist/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/newlist/index.php')
-rw-r--r--views/newlist/index.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/views/newlist/index.php b/views/newlist/index.php
deleted file mode 100644
index 72ac7a3..0000000
--- a/views/newlist/index.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<script type="text/javascript">
- if (!cookieStorage.getItem('token')) {
- window.location.href = '/login';
- }
-</script>
-
-<h1>Create a new list</h1>
-
-<hr class="new-section"/>
-
-<form action="#" method="POST">
- <?php if (isset($list_status)): ?>
- <?php if ($list_status !== ""): ?>
- <p class="item error"><span>
- <strong>Error:</strong> <?= $list_status ?>
- </span></p>
- <?php endif; ?>
- <?php endif; ?>
-
- <input type="text" name="name" placeholder="List title" minlength="1">
- <textarea name="description" placeholder="Description"></textarea>
- <input type="submit" value="Login">
-</form>