diff options
| author | Daniel Weipert <code@drogueronin.de> | 2022-01-14 18:21:36 +0100 | 
|---|---|---|
| committer | Daniel Weipert <code@drogueronin.de> | 2022-01-14 18:21:36 +0100 | 
| commit | 4cacc94240944ff316104bfd1b5e8e00fad14517 (patch) | |
| tree | 2559dc3aa121d70bd645ff0a2fe56e1ae0695daa /public | |
| parent | 9c0893cb65df986b9edf0f48a6d4d2d65f27b8ef (diff) | |
Add Artworks, Votes and better routing
Diffstat (limited to 'public')
| -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 - - - | 
