Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

48 строки
1.8KB

  1. <div class="row justify-content-center">
  2. <div class="col-md-6">
  3. <h1 class="h3 mb-4">Edit Board</h1>
  4. <?php if (!empty($error)): ?>
  5. <div class="alert alert-danger"><?= e($error) ?></div>
  6. <?php endif; ?>
  7. <form method="POST" action="/board/<?= e($board->slug) ?>/update">
  8. <?= csrf_field() ?>
  9. <div class="mb-3">
  10. <label for="name" class="form-label">Board Name <span class="text-danger">*</span></label>
  11. <input type="text" class="form-control" id="name" name="name"
  12. value="<?= e($board->name) ?>" required autofocus />
  13. </div>
  14. <div class="mb-3 form-check">
  15. <input type="checkbox" class="form-check-input" id="import_from_printstream"
  16. name="import_from_printstream"
  17. <?= $board->importFromPrintstream ? 'checked' : '' ?> />
  18. <label class="form-check-label" for="import_from_printstream">
  19. Import from PrintStream
  20. </label>
  21. </div>
  22. <div class="mb-4">
  23. <label for="printstream_job_name" class="form-label">PrintStream Job Name</label>
  24. <input type="text" class="form-control" id="printstream_job_name" name="printstream_job_name"
  25. value="<?= e($board->printstreamJobName) ?>" />
  26. </div>
  27. <div class="d-flex gap-2">
  28. <button type="submit" class="btn btn-primary">Save Changes</button>
  29. <a href="/board/<?= e($board->slug) ?>" class="btn btn-outline-secondary">Cancel</a>
  30. </div>
  31. </form>
  32. <hr class="my-4" />
  33. <form method="POST" action="/board/<?= e($board->slug) ?>/delete"
  34. onsubmit="return confirm('Delete this board and ALL its columns, lanes, and cards?')">
  35. <?= csrf_field() ?>
  36. <button type="submit" class="btn btn-danger btn-sm">Delete Board</button>
  37. </form>
  38. </div>
  39. </div>

Powered by TurnKey Linux.