diff options
Diffstat (limited to 'public/index.php')
-rw-r--r-- | public/index.php | 20 |
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 - - - |