43 lines
1.7 KiB
HTML
43 lines
1.7 KiB
HTML
|
|
|
|
<form action="" method="post" class="container py-4">
|
|
<h2 class="text-center mb-4">Edit Folder</h2>
|
|
<fieldset>
|
|
<div class="mb-3 row">
|
|
<label for="title" class="col-lg-5 col-form-label text-end">Title</label>
|
|
<div class="col-lg-3">
|
|
<input type="text" class="form-control" name="title" id="title" value="{title}" required>
|
|
</div>
|
|
</div>
|
|
<div class="mb-3 row">
|
|
<label for="title" class="col-lg-5 col-form-label text-end">Description:</label>
|
|
<div class="col-lg-3">
|
|
<textarea class="form-control" name="description" maxlength="2000" rows="10" cols="50" id="description">{description}</textarea>
|
|
</div>
|
|
</div>
|
|
{folderSelect}
|
|
<div class="mb-3 row">
|
|
<label for="title" class="col-lg-5 col-form-label text-end">Privacy</label>
|
|
<div class="col-lg-3">
|
|
<select id="privacy" name="privacy" class="form-select" value="{privacy}">
|
|
<option value="private">Private</option>
|
|
<option value="public">Public</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="mb-3 row">
|
|
<label for="title" class="col-lg-5 col-form-label text-end">Color</label>
|
|
<div class="col-lg-3">
|
|
{colorSelect}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Hidden Token -->
|
|
<input type="hidden" name="token" value="{TOKEN}">
|
|
|
|
<!-- Submit Button -->
|
|
<div class="text-center">
|
|
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Save</button>
|
|
</div>
|
|
</fieldset>
|
|
</form> |