@use crate::TextInput; @use super::input; @(text_input: &TextInput)
@if let Some(title) = text_input.title.as_ref() { } else { @:input(&text_input.input) } @if let Some(error) = text_input.error.as_ref() {
@error
}