import { a7 as head } from '../../../../chunks/index.js-BVnekaYQ.js';
import { U as UserForm } from '../../../../chunks/UserForm.js-CxupELTT.js';
import '../../../../chunks/utils.js-mIi_c4Oz.js';
import '../../../../chunks/utils2.js-BQzn9ikS.js';
import '../../../../chunks/exports.js-8HOoaa4e.js';
import '../../../../chunks/root.js-l4cSj5gU.js';
import '../../../../chunks/false.js-B2gHlHjM.js';
import '../../../../chunks/state.svelte.js-DC2zSH9Y.js';
import '../../../../chunks/roles.js-aWc1U_OX.js';

function _page($$renderer, $$props) {
  $$renderer.component(($$renderer2) => {
    let { form } = $$props;
    head("pvbw0q", $$renderer2, ($$renderer3) => {
      $$renderer3.title(($$renderer4) => {
        $$renderer4.push(`<title>Nuevo usuario · Inventario EDUmind</title>`);
      });
    });
    $$renderer2.push(`<div class="mx-auto max-w-3xl"><nav class="mb-4 text-sm text-slate-500"><a href="/users" class="hover:underline">Usuarios</a> · <span>Nuevo</span></nav> <h1 class="mb-6 text-2xl font-bold text-slate-900">Nuevo usuario</h1> `);
    UserForm($$renderer2, {
      values: form?.values,
      error: form?.error,
      submitLabel: "Crear usuario"
    });
    $$renderer2.push(`<!----></div>`);
  });
}

export { _page as default };
//# sourceMappingURL=_page.svelte.js-BtS2xmJH.js.map
