Skip to main content

render_error

Function render_error 

Source
pub fn render_error(msg: &str) -> String
Expand description

Render the .field-error block for a single message. Empty msg → empty string, so callers don’t need to gate the call.