<div class="inhalt">
  <div class="form-container">
    <h1>Neuen Gutschein anlegen</h1>
    <form class="form-horizontal" action="index.php" method="post">
      <input type="hidden" name="controller" value="Gutschein">
      <input type="hidden" name="do" value="createGutschein">
      <label for="code">Code</label>
      <input type="text" id="code" name="code" required>
      <label for="discount">Rabatt (%)</label>
      <input type="number" id="discount" name="discount" min="0" max="100" required>
      <label for="event_id">Event-ID</label>
      <input type="number" id="event_id" name="event_id" required>
      <label for="valid_until">Gültig bis</label>
      <input type="date" id="valid_until" name="valid_until" required>
      <button class="admin-btn" type="submit">Erstellen</button>
    </form>
    <a href="?controller=Gutschein&do=adminVerwaltung" class="admin-btn" style="background:#888;">Abbrechen</a>
  </div>
</div> 