mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 04:55:42 +09:00
12 lines
277 B
Rust
12 lines
277 B
Rust
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
use maud::{Markup, html};
|
|
|
|
pub fn error_alert(error: &str) -> Markup {
|
|
html! {
|
|
div class="rounded-lg border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-800" role="alert" {
|
|
(error)
|
|
}
|
|
}
|
|
}
|