@use std::borrow::Cow; @use validator::{ValidationErrors, ValidationErrorsKind}; @use crate::templates::base; @use crate::template_utils::*; @use crate::routes::email_signups::NewUserForm; @use crate::routes::*; @(ctx: BaseContext, enabled: bool, form: &NewUserForm, errors: ValidationErrors) @:base(ctx, i18n!(ctx.1, "Create your account"), {}, {}, { @if enabled {
@i18n!(ctx.1, "Apologies, but registrations are closed on this particular instance. You can, however, find a different one.")
} })