diff --git a/resources/templates/appearance_edit.html.tera b/resources/templates/appearance_edit.html.tera
index 5b18b4f4..4b7eec80 100644
--- a/resources/templates/appearance_edit.html.tera
+++ b/resources/templates/appearance_edit.html.tera
@@ -467,7 +467,7 @@
{% if appearance.body.clothing.pants.belt %}
- Belt Availability: {{ macros::add_select(name="appearance.body.clothing.pants.belt.availability", options=[ "true","false" ], selected=true, update=true) }}
+ Belt Availability: {{ macros::add_select(name="appearance.body.clothing.pants.belt.availability", options=[ "true","false" ], selected="true", update=true) }}
Belt
{% else %}
- Belt Availability: {{ macros::add_select(name="appearance.body.clothing.pants.belt.availability", options=[ "true","false" ], selected=false, update=true) }}
+ Belt Availability: {{ macros::add_select(name="appearance.body.clothing.pants.belt.availability", options=[ "true","false" ], selected="false", update=true) }}
{% endif %}
diff --git a/rpg_tools_core/src/ui/editor.rs b/rpg_tools_core/src/ui/editor.rs
index 61e72314..c65b2cd6 100644
--- a/rpg_tools_core/src/ui/editor.rs
+++ b/rpg_tools_core/src/ui/editor.rs
@@ -108,7 +108,7 @@ impl UiVisitor for EditorVisitor {
&format!("{} Availability", self.get_name()),
&format!("{}.availability", self.get_path()),
&vec!["true".to_string(), "false".to_string()],
- "true",
+ "\"true\"",
);
}
@@ -118,7 +118,7 @@ impl UiVisitor for EditorVisitor {
&format!("{} Availability", self.get_name()),
&format!("{}.availability", self.get_path()),
&vec!["true".to_string(), "false".to_string()],
- "false",
+ "\"false\"",
);
self.lines.push(format!("{}{{% endif %}}", self.spaces));
}