Load steps after setting flavor

This commit is contained in:
Tim Möhlmann
2018-10-18 12:56:16 +03:00
parent 5679d355aa
commit adfadab4cf
4 changed files with 22 additions and 12 deletions

View File

@@ -9,10 +9,10 @@
</div>
{% endmacro %}
{% macro radio(name, value, emph, text) %}
{% macro radio(name, value, emph, text, current) %}
<div class="radio">
<label>
<input type="radio" name="{{ name }}" value="{{ value }}">
<input type="radio" name="{{ name }}" value="{{ value }}"{% if current == value %} checked="checked"{% endif %}>
{% if emph %}
<strong>{{ emph }}</strong>,
{% endif %}