pub fn permission_error() -> Html {
    Html::new()
        .status(Status::Unauthorized)
        .head(default_head("Permission error".to_string()))
        .body(
            Body::new()
                .child(H1::new("Permission error"))
                .child(P::with_text(
                    "You don't have permission to view this resource. You might need to ask
                    your teacher for an invite to this class, or contact your administrator.",
                )),
        )
}
/// A permission error which means that a user may not access the resource in question.
A permission error which means that a user may not access the resource in question.
A permission error which means that a user may not access the resource in question .
pub fn permission_error() -> Html {
    Html::new()
        .status(Status::Unauthorized)
        .head(default_head("Permission error".to_string()))
        .body(
            Body::new()
                .child(H1::new("Permission error"))
                .child(P::with_text(
                    "You don't have permission to view this resource. You might need to ask
                    your teacher for an invite to this class, or contact your administrator.",
                )),
        )
}
pub fn permission_error ( ) -> Html { Html :: new ( ) . status ( Status :: Unauthorized ) . head ( default_head ( " " . to_string ( ) ) ) . body ( Body :: new ( ) . child ( H1 :: new ( " " ) ) . child ( P :: with_text ( " " , ) ) , ) }
A permission error which means that a user may not access the resource in question.
A permission error which means that a user may not access the resource in question .