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 }}
</span>
<span class="icon-link">
{% macro EditEnvironmentButton() %}
{% set edit_environment_button %}
{{ Icon('edit') }}
{% endmacro %}
{% endset %}
{{
ToggleButton(
open_html=EditEnvironmentButton(),
close_html=EditEnvironmentButton(),
open_html=edit_environment_button,
close_html=edit_environment_button,
section_name="edit"
)
}}