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: Do not use .to_string() for comparison -->
|
||||
<select rust-input="change-template">
|
||||
{% let selected_name = parameters.get_name() %}
|
||||
{% for name in Parameters::get_names() %}
|
||||
<option value="{{ name }}"
|
||||
<!-- TODO: Do not use .to_string() for comparison -->
|
||||
{% if selected_name == name.to_string() -%}
|
||||
selected="selected"
|
||||
{%- endif -%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user