templates/base.html 🔗
@@ -64,6 +64,7 @@
<div data-field>
<label for="nt-project">Project</label>
<select id="nt-project" aria-label="Project" required>
+ <option value=""{% if active_project.is_none() %} selected{% endif %}>Select project…</option>
{% for p in all_projects %}
<option value="{{ p }}"{% if active_project.as_deref() == Some(p.as_str()) %} selected{% endif %}>{{ p }}</option>
{% endfor %}