mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Use asset fingerprinter to serve images
This means we can cache them forever, and only invalidate the cache when the image changes.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
{% for option in form.options %}
|
||||
<div class="column-one-quarter">
|
||||
<label for="{{ option.id }}">
|
||||
<img src="{{ asset_path }}images/branding-options/{{ option.data }}.png" alt="" class="bordered-image bottom-gutter-1-3">
|
||||
<img src="{{ asset_url('images/branding-options/{}.png'.format(option.data)) }}" alt="" class="bordered-image bottom-gutter-1-3">
|
||||
</label>
|
||||
{{ radio(option) }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user