31 lines
1 KiB
PHP
31 lines
1 KiB
PHP
|
|
<?php
|
|||
|
|
/** @var array $values */
|
|||
|
|
/** @var array|null $character */
|
|||
|
|
/** @var array $owners */
|
|||
|
|
/** @var string $error */
|
|||
|
|
?>
|
|||
|
|
<div class="page-head">
|
|||
|
|
<div>
|
|||
|
|
<h1>Charakter erschaffen</h1>
|
|||
|
|
<p class="lede">
|
|||
|
|
Nach der Hausregel V1.1 werden die Werte 14, 12, 11, 10, 9 und 7 auf Stärke, Konstitution,
|
|||
|
|
Geschicklichkeit, Intelligenz, Weisheit und Charisma verteilt. Die Rasse entfällt – in der
|
|||
|
|
Westreiche spielen Menschen.
|
|||
|
|
</p>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<section class="panel">
|
|||
|
|
<?php if ($error !== ''): ?>
|
|||
|
|
<p class="alert alert-error"><?= e($error) ?></p>
|
|||
|
|
<?php endif; ?>
|
|||
|
|
<form method="post" action="<?= e(url('/characters/new')) ?>" class="form-grid">
|
|||
|
|
<?= csrf_field() ?>
|
|||
|
|
<?php require WS_ROOT . '/views/_fields.php'; ?>
|
|||
|
|
<div class="actions">
|
|||
|
|
<button class="btn btn-primary" type="submit">Bogen anlegen</button>
|
|||
|
|
<a class="btn btn-ghost" href="<?= e(url('/')) ?>">Abbrechen</a>
|
|||
|
|
</div>
|
|||
|
|
</form>
|
|||
|
|
</section>
|