ui: fix homework search display (#1020)

This commit is contained in:
panda authored and GitHub committed 2025-07-24 16:55:04 +01:00
1 parent 261a210da2
commit e95c4ffa61
1 file changed
+1 -3
@@ -14,7 +14,6 @@
<option value="list" selected>{{ _('List View') }}</option>
</select>
</span>
{% if groups.length %}
<form method="get" class="filter-form" name="filter-form">
<input type="text" class="inline compact textbox" name="q" value="{{ q }}" placeholder="{{ _('Search homeworks...') }}">
<select class="inline compact select" name="group">
@@ -30,7 +29,6 @@
{{ _('Search') }}
</button>
</form>
{% endif %}
{% if handler.user.hasPerm(perm.PERM_CREATE_HOMEWORK) %}
<a class="compact button" href="{{ url('homework_create') }}">{{ _('Create Homework') }}</a>
{% endif %}
@@ -75,4 +73,4 @@
</div>
</div>
</div>
{% endblock %}
{% endblock %}