Another macro to set

This commit is contained in:
George Drummond 2019-04-22 10:24:06 -04:00
parent 29655e45dd
commit c61f5f20bd
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17

View File

@ -29,14 +29,14 @@
{{ name }} {{ name }}
</span> </span>
<span class="icon-link"> <span class="icon-link">
{% macro EditEnvironmentButton() %} {% set edit_environment_button %}
{{ Icon('edit') }} {{ Icon('edit') }}
{% endmacro %} {% endset %}
{{ {{
ToggleButton( ToggleButton(
open_html=EditEnvironmentButton(), open_html=edit_environment_button,
close_html=EditEnvironmentButton(), close_html=edit_environment_button,
section_name="edit" section_name="edit"
) )
}} }}