use askama::Template;
use askama_web::WebTemplate;

#[derive(Template, WebTemplate)]
#[template(path = "refunds.html")]
pub struct RefundsTemplate {
  pub email: &'static str,
  pub date: &'static str,
}

pub async fn refunds_page() -> RefundsTemplate {
  RefundsTemplate {
    email: crate::constants::CONTACT_EMAIL,
    date: crate::constants::UPDATED_DATE,
  }
}
