summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-01-14 18:21:36 +0100
committerDaniel Weipert <code@drogueronin.de>2022-01-14 18:21:36 +0100
commit4cacc94240944ff316104bfd1b5e8e00fad14517 (patch)
tree2559dc3aa121d70bd645ff0a2fe56e1ae0695daa /public
parent9c0893cb65df986b9edf0f48a6d4d2d65f27b8ef (diff)
Add Artworks, Votes and better routing
Diffstat (limited to 'public')
-rw-r--r--public/index.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/public/index.php b/public/index.php
index 57a5d91..022af48 100644
--- a/public/index.php
+++ b/public/index.php
@@ -6,23 +6,3 @@ require_once dirname(__DIR__) . '/vendor/autoload.php';
\Elements\DB::init();
new \Elements\Router();
-$fields = [
- 'name' => 'meta[name]',
- 'converted mana cost' => 'meta[cmc]',
- 'is uno reverse' => 'meta[is_uno_reverse]',
-];
-?>
-
-<form action="<?= '/card/add' ?>" method="post" enctype="multipart/form-data">
- <?php foreach ($fields as $key => $field): ?>
- <label>
- <?= $key ?> <input type="text" name="<?= $field ?>">
- </label>
- <?php endforeach; ?>
- <input type="submit" value="Hinzufügen">
-</form>
-
-<?php
-
-
-