pub fn turbo_frame(id: &str, content: &str) -> String {
format!("<turbo-frame id=\"{id}\">{content}</turbo-frame>")
}
pub fn turbo_stream(action: &str, target: &str, content: &str) -> String {
format!(
"<turbo-stream action=\"{action}\" target=\"{target}\"><template>{content}</template></turbo-stream>"
)
}
pub fn stimulus_controller(name: &str) -> String {
format!("data-controller=\"{name}\"")
}