28 lines
1.5 KiB
PHP
28 lines
1.5 KiB
PHP
<?php $item = $item ?? []; ?>
|
|
<div class="row g-3">
|
|
<div class="col-md-6">
|
|
<label class="form-label" for="title">Title</label>
|
|
<input id="title" name="title" class="form-control" value="<?= esc(old('title', $item['title'] ?? '')) ?>" required>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<label class="form-label" for="department">Department</label>
|
|
<input id="department" name="department" class="form-control" value="<?= esc(old('department', $item['department'] ?? '')) ?>">
|
|
</div>
|
|
<div class="col-md-6">
|
|
<label class="form-label" for="location">Location</label>
|
|
<input id="location" name="location" class="form-control" value="<?= esc(old('location', $item['location'] ?? '')) ?>">
|
|
</div>
|
|
<div class="col-md-6">
|
|
<label class="form-label" for="employment_type">Employment Type</label>
|
|
<input id="employment_type" name="employment_type" class="form-control" value="<?= esc(old('employment_type', $item['employment_type'] ?? '')) ?>">
|
|
</div>
|
|
<div class="col-12">
|
|
<label class="form-label" for="description">Description</label>
|
|
<textarea id="description" name="description" class="form-control" rows="6"><?= esc(old('description', $item['description'] ?? '')) ?></textarea>
|
|
</div>
|
|
<div class="col-12">
|
|
<label class="form-label" for="requirements">Requirements</label>
|
|
<textarea id="requirements" name="requirements" class="form-control" rows="6"><?= esc(old('requirements', $item['requirements'] ?? '')) ?></textarea>
|
|
</div>
|
|
</div>
|