Skip to content

Commit

Permalink
Merge pull request #530 from UkrainianSmile/patch-1
Browse files Browse the repository at this point in the history
Update search_form.html
  • Loading branch information
farridav authored Nov 28, 2024
2 parents 59228af + 449c996 commit 0d865b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jazzmin/templates/admin/search_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

{% if cl.search_fields %}
<div class="form-group">
<input class="form-control" type="text" name="{{ search_var }}" value="{{ cl.query }}" id="searchbar">
<input class="form-control" type="text" name="{{ search_var }}" value="{{ cl.query }}" id="searchbar"
{% if cl.search_help_text %} placeholder="{{ cl.search_help_text }}{% endif %}">
</div>
{% endif %}

Expand All @@ -39,4 +40,4 @@
{% endif %}

</form>
</div>
</div>

0 comments on commit 0d865b4

Please sign in to comment.