Enable Project categorization.
This commit is contained in:
@@ -40,6 +40,19 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="category_id">Project Category</label>
|
||||
<select id="category_id" name="category_id">
|
||||
<option value="">No Category</option>
|
||||
{% for category in categories %}
|
||||
<option value="{{ category.id }}"
|
||||
{% if request.form.category_id and request.form.category_id|int == category.id %}selected{% endif %}>
|
||||
{{ category.icon or '📁' }} {{ category.name }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
|
||||
Reference in New Issue
Block a user