You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <div class="row justify-content-center">
- <div class="col-md-6">
- <h1 class="h3 mb-4">New Board</h1>
-
- <?php if (!empty($error)): ?>
- <div class="alert alert-danger"><?= e($error) ?></div>
- <?php endif; ?>
-
- <form method="POST" action="/boards">
- <?= csrf_field() ?>
-
- <div class="mb-3">
- <label for="name" class="form-label">Board Name <span class="text-danger">*</span></label>
- <input type="text" class="form-control" id="name" name="name"
- value="<?= e((string) ($old['name'] ?? '')) ?>" required autofocus />
- </div>
-
- <div class="mb-3 form-check">
- <input type="checkbox" class="form-check-input" id="import_from_printstream"
- name="import_from_printstream"
- <?= !empty($old['import_from_printstream']) ? 'checked' : '' ?> />
- <label class="form-check-label" for="import_from_printstream">
- Import from PrintStream
- </label>
- </div>
-
- <div class="mb-4">
- <label for="printstream_job_name" class="form-label">PrintStream Job Name</label>
- <input type="text" class="form-control" id="printstream_job_name" name="printstream_job_name"
- value="<?= e((string) ($old['printstream_job_name'] ?? '')) ?>" />
- </div>
-
- <div class="d-flex gap-2">
- <button type="submit" class="btn btn-primary">Create Board</button>
- <a href="/boards" class="btn btn-outline-secondary">Cancel</a>
- </div>
- </form>
- </div>
- </div>
|