@use templates::base; @use template_utils::*; @use plume_models::instance::Instance; @use routes::instance::InstanceSettingsForm; @use validator::ValidationErrors; @(ctx: BaseContext, instance: Instance, form: InstanceSettingsForm, errors: ValidationErrors) @:base(ctx, i18n!(ctx.1, "Administration of {0}"; instance.name.clone()).as_str(), {}, {}, {

@i18n!(ctx.1, "Administration")

@tabs(&[ ("/admin", i18n!(ctx.1, "Configuration"), true), ("/admin/instances", i18n!(ctx.1, "Instances"), false), ("/admin/users", i18n!(ctx.1, "Users"), false), ])
@input!(ctx.1, name (text), "Name", form, errors.clone(), "props")