🚧 Avoid semicolons for empty html elements

This commit is contained in:
Manuel Cillero 2023-08-05 11:00:51 +02:00
parent 25cb46e712
commit 5f02ef7f2c
4 changed files with 6 additions and 6 deletions

View file

@ -81,7 +81,7 @@ impl ComponentTrait for Input {
@if self.required().get().is_some() {
span
class="form-required"
title="Este campo es obligatorio." { "*" } " ";
title="Este campo es obligatorio." { "*" } " "
}
}
}
@ -99,7 +99,7 @@ impl ComponentTrait for Input {
autocomplete=[self.autocomplete().get()]
readonly=[self.readonly().get()]
required=[self.required().get()]
disabled=[self.disabled().get()];
disabled=[self.disabled().get()] {}
@if !description.is_empty() {
div class="form-text" { (description) }
}