🚧 Avoid semicolons for empty html elements
This commit is contained in:
parent
25cb46e712
commit
5f02ef7f2c
4 changed files with 6 additions and 6 deletions
|
|
@ -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) }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue