@use crate::comments::ReportView; @use crate::extensions::ProfileExt; @use crate::nav::NavState; @use crate::templates::layouts::home; @use hyaenidae_toolkit::{templates::button_group, Button}; @use hyaenidae_toolkit::{templates::{card, card_title, card_body}, Card}; @(view: &ReportView, nav_state: &NavState) @:home("Comment Reported", &format!("Reported comment by {}", view.author.name()), nav_state, {}, { @:card(&Card::full_width().dark(nav_state.dark()), { @:card_title({ Comment Reported }) @:card_body({ @:button_group(&[ Button::secondary("Back to Comment").href(&view.comment_path()), ]) }) }) })