Skip to content

Commit

Permalink
fix: search form help text (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Jul 10, 2024
1 parent f2d4fc5 commit 8a105b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unfold/templates/admin/search_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% if cl.search_fields %}
<div id="toolbar">
<div class="bg-white border flex rounded-md overflow-hidden shadow-sm lg:w-64 focus-within:ring focus-within:ring-primary-300 focus-within:border-primary-600 dark:bg-gray-900 dark:border-gray-700 dark:focus-within:border-primary-600 dark:focus-within:ring-primary-700 dark:focus-within:ring-opacity-50">
<input class="font-medium grow min-w-0 h-9 px-3 text-gray-500 text-sm focus:outline-none dark:bg-gray-900 dark:text-gray-400" type="text" name="{{ search_var }}" value="{{ cl.query }}" id="searchbar" placeholder="{% trans 'Type to search' %}" />
<input class="font-medium grow min-w-0 h-9 px-3 text-gray-500 text-sm focus:outline-none dark:bg-gray-900 dark:text-gray-400" type="text" name="{{ search_var }}" value="{{ cl.query }}" id="searchbar" placeholder="{% if cl.search_help_text %}{{ cl.search_help_text }}{% else %}{% trans "Type to search" %}{% endif %}" />

<button type="submit" class="flex items-center px-2 focus:outline-none" id="searchbar-submit">
<span class="material-symbols-outlined md-18 text-gray-400 dark:text-gray-500">search</span>
Expand Down

0 comments on commit 8a105b3

Please sign in to comment.