33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<div class="page-header">
|
|
<h1 class="page-title">{{ page_title }}</h1>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<form method="post" action="/weblinks/folders/create">
|
|
<div class="form-grid">
|
|
<div class="form-group full-width">
|
|
<label class="form-label">Folder Name *</label>
|
|
<input type="text" name="name" class="form-input" required placeholder="Folder name...">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">Parent Folder</label>
|
|
<select name="parent_id" class="form-select">
|
|
<option value="">None (top-level)</option>
|
|
{% for f in parent_folders %}
|
|
<option value="{{ f.id }}">{{ f.name }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-primary">Create Folder</button>
|
|
<a href="/weblinks" class="btn btn-secondary">Cancel</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|