This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{% macro icon_link(href, icon, label, title='', extra_class='') -%}
|
||||
<a class="icon-button {{ extra_class }}"
|
||||
href="{{ href }}"
|
||||
title="{{ title if title else label }}"
|
||||
aria-label="{{ label }}">
|
||||
<img class="dash-icon" src="{{ icon }}" alt="" />
|
||||
</a>
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro icon_submit(icon, label, title='', extra_class='') -%}
|
||||
<button type="submit"
|
||||
class="icon-button {{ extra_class }}"
|
||||
title="{{ title if title else label }}"
|
||||
aria-label="{{ label }}">
|
||||
<img class="dash-icon" src="{{ icon }}" alt="" />
|
||||
</button>
|
||||
{%- endmacro %}
|
||||
Reference in New Issue
Block a user