Another macro to set

This commit is contained in:
George Drummond
2019-04-22 10:24:06 -04:00
parent 29655e45dd
commit c61f5f20bd

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"
)
}}