hyaenidae/templates/submissions/report_success.rs.html
asonix e0858b7b3d Move server/ to / and start i18ning
Currently i18n'd
- login page
- register page
- cookie page
- delete account confirmation page
- 404 page
- 500 page
- part of account settings
2021-01-28 20:25:31 -06:00

18 lines
711 B
HTML

@use crate::extensions::{ProfileExt, SubmissionExt};
@use crate::templates::layouts::home;
@use crate::{nav::NavState, submissions::ReportView};
@use hyaenidae_toolkit::{templates::button_group, Button};
@use hyaenidae_toolkit::{templates::{card, card_body, card_title}, Card};
@(view: &ReportView, nav_state: &NavState)
@:home("Submission Reported", &format!("Reported {}'s submission", view.author.name()), nav_state, {}, {
@:card(&Card::full_width().dark(nav_state.dark()), {
@:card_title({ Submission Reported })
@:card_body({
@:button_group(&[
Button::secondary("Back to Submission").href(&view.submission.view_path()),
])
})
})
})