refactor(search): include icon using helper/icon

This commit is contained in:
Jimmy Cai 2020-10-12 20:31:40 +02:00
parent c266204f98
commit 26fedaebd2
No known key found for this signature in database
GPG key ID: 3EA408E527F37B18
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
</p>
<button title="Search">
{{ (resources.Get "icons/search.svg").Content | safeHTML }}
{{ partial "helper/icon" "search" }}
</button>
</form>

View file

@ -4,7 +4,7 @@
<input name="keyword" required placeholder="Type something..." />
<button title="Search">
{{ (resources.Get "icons/search.svg").Content | safeHTML }}
{{ partial "helper/icon" "search" }}
</button>
</p>
</form>