mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: fix homework search display (#1020)
This commit is contained in:
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 %}
|
||||
Reference in new issue
Block a user