Backup #100

ID100
Dateipfad/var/www/dev.campus.systemische-tools.de/src/View/content/new.php
Version1
Typ modified
Größe2.3 KB
Hashc6fda7e3edc58fdb2f0a68e43a2b09900c414ee5c9978e51251ce5eadcce3a8d
Datum2025-12-20 19:18:12
Geändert vonclaude-code-hook
GrundClaude Code Pre-Hook Backup vor Edit-Operation
Datei existiert Ja

Dateiinhalt

<?php ob_start(); ?>

<nav class="breadcrumb">
    <a href="/content">Content Studio</a> &raquo; Neuer Auftrag
</nav>

<h1>Neuer Auftrag</h1>

<form class="form" method="post" action="/content" style="max-width: 600px;">
    <div class="form-group">
        <label for="title">Titel *</label>
        <input type="text" id="title" name="title" class="form-input" required
               placeholder="z.B. Blogpost über Teamcoaching">
    </div>
    <div class="form-group">
        <label for="briefing">Briefing *</label>
        <textarea id="briefing" name="briefing" class="form-textarea" rows="6" required
                  placeholder="Beschreibe, was der Content enthalten soll."></textarea>
    </div>
    <div class="form-group">
        <label for="author_profile_id">Autorenprofil</label>
        <select id="author_profile_id" name="author_profile_id" class="form-select">
            <option value="">-- Kein Profil --</option>
            <?php foreach ($profiles ?? [] as $profile): ?>
            <option value="<?= $profile['id'] ?>"><?= htmlspecialchars($profile['name']) ?></option>
            <?php endforeach; ?>
        </select>
    </div>
    <div class="form-group">
        <label for="contract_id">Contract</label>
        <select id="contract_id" name="contract_id" class="form-select">
            <option value="">-- Kein Contract --</option>
            <?php foreach ($contracts ?? [] as $contract): ?>
            <option value="<?= $contract['id'] ?>"><?= htmlspecialchars($contract['name']) ?></option>
            <?php endforeach; ?>
        </select>
    </div>
    <div class="form-group">
        <label for="structure_id">Struktur</label>
        <select id="structure_id" name="structure_id" class="form-select">
            <option value="">-- Keine Struktur --</option>
            <?php foreach ($structures ?? [] as $structure): ?>
            <option value="<?= $structure['id'] ?>"><?= htmlspecialchars($structure['name']) ?></option>
            <?php endforeach; ?>
        </select>
    </div>
    <div class="form-actions">
        <button type="submit" class="btn btn--primary">Auftrag erstellen</button>
        <a href="/content" class="btn">Abbrechen</a>
    </div>
</form>

<?php $content = ob_get_clean(); ?>
<?php require VIEW_PATH . '/layout.php'; ?>

Vollständig herunterladen

Aktionen

Herunterladen

← Zurück zur Übersicht