core&ui: contest/homework: add search

This commit is contained in:
undefined committed 2025-04-13 02:10:10 +08:00
1 parent bf51bd30c7
commit d46de63264
10 files changed
+31 -22

No files matched your search

@@ -16,7 +16,7 @@
</span>
{% if groups.length %}
<form method="get" class="filter-form" name="filter-form">
{{ _('Show') }}:
<input type="text" class="inline compact textbox" name="q" value="{{ q }}" placeholder="{{ _('Search homeworks...') }}">
<select class="inline compact select" name="group">
<option value=""{% if not group %} selected{% endif %}>{{ _('All') }}</option>
{%- for g in groups -%}