mas_templates::check

Function render_form_post

source
pub fn render_form_post<T: Serialize + TemplateContext>(
    templates: &Templates,
    now: DateTime<Utc>,
    rng: &mut impl Rng,
) -> Result<()>
Expand description

Render the form_post.html template with sample contexts

ยงErrors

Returns an error if the template fails to render with any of the sample.