Quelltext des aktuellen Standes
<?php $this->layout('layouts/main', ['page_title' => $page_title, 'current_route' => $current_route, 'full_width' => true]); ?>
<style>
a, a:hover { text-decoration: none; }
.tf-wrap { max-width:520px; margin:0 auto; padding:1.75rem 1.5rem 3rem; }
.tf-card { background:var(--color-bg); border:1px solid var(--gray-200); border-radius:0.75rem; padding:1.75rem; }
.tf-textarea { min-height:90px; resize:vertical; }
.tf-actions { display:flex; gap:0.75rem; margin-top:1.5rem; }
</style>
<div class="content-header">
<div>
<h1><?= $this->te('Neues Team erstellen') ?></h1>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/"><?= $this->te('Home') ?></a></li>
<li class="breadcrumb-item"><a href="/vault"><?= $this->te('Passwörter') ?></a></li>
<li class="breadcrumb-item active"><?= $this->te('Neues Team') ?></li>
</ol>
</div>
</div>
<div class="tf-wrap">
<div class="tf-card">
<form method="POST" action="/vault/teams/create">
<input type="hidden" name="_csrf" value="<?= $this->csrf() ?>">
<div class="form-group">
<label for="name"><?= $this->te('Team-Name *') ?></label>
<input class="form-control" type="text" id="name" name="name"
value="<?= $this->e($_POST['name'] ?? '') ?>" required autofocus maxlength="200">
</div>
<div class="form-group">
<label for="description"><?= $this->te('Beschreibung') ?></label>
<textarea class="form-control tf-textarea" id="description" name="description"
maxlength="1000"><?= $this->e($_POST['description'] ?? '') ?></textarea>
</div>
<div class="tf-actions">
<button type="submit" class="btn btn-primary"><?= $this->te('Team erstellen') ?></button>
<a href="/vault" class="btn btn-default"><?= $this->te('Abbrechen') ?></a>
</div>
</form>
</div>
</div>