Commit 8e069105 authored by felix.herrmann's avatar felix.herrmann
Browse files

fix(template): use css class to mark multiple elements for ic-include

parent 352c1d31
......@@ -9,9 +9,9 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<div class="input-group w-25 mx-auto">
<input id="search-top" class="form-control" type="text" {% if query %}value={{ query }}{% else %}placeholder="Search"{% endif %} name="q" aria-label="Search">
<input class="form-control search-top" type="text" {% if query %}value="{{ query }}" {% else %}placeholder="Search"{% endif %} name="q" aria-label="Search">
<div class="input-group-append">
<button class="input-group-text" type="button" {% if query %}ic-action="click" ic-action-target="#searchsubmit"{% else %}ic-get-from="{% url 'ddusers:search' %}" ic-include="#search-top" ic-push-url="true" ic-push-params="q" ic-target="#content"{% endif %}><i class="fas fa-search"></i></button>
<button class="input-group-text" type="button" ic-action="click" ic-action-target="#searchsubmit" ic-include=".search-top" ic-push-url="true" ic-push-params="q" ic-get-from="{% url 'ddusers:search' %}" ic-target="#content"><i class="fas fa-search"></i></button>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment