Fix html rendering
This commit is contained in:
parent
a6ee7ad6bc
commit
afb57a17ff
@ -1,9 +1,9 @@
|
|||||||
<!-- TODO: When refreshing, the selected element does not change -->
|
<!-- TODO: When refreshing, the selected element does not change -->
|
||||||
|
<!-- TODO: Do not use .to_string() for comparison -->
|
||||||
<select rust-input="change-template">
|
<select rust-input="change-template">
|
||||||
{% let selected_name = parameters.get_name() %}
|
{% let selected_name = parameters.get_name() %}
|
||||||
{% for name in Parameters::get_names() %}
|
{% for name in Parameters::get_names() %}
|
||||||
<option value="{{ name }}"
|
<option value="{{ name }}"
|
||||||
<!-- TODO: Do not use .to_string() for comparison -->
|
|
||||||
{% if selected_name == name.to_string() -%}
|
{% if selected_name == name.to_string() -%}
|
||||||
selected="selected"
|
selected="selected"
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user