Anons79 Mini Shell

Directory : /home/aplikasiposinfo/public_html/talent.gosepakat.id/public/build/assets/
Upload File :
Current File : /home/aplikasiposinfo/public_html/talent.gosepakat.id/public/build/assets/Create-DKo8pITT.js

import{X as p,G as c,j as s,S as h}from"./app-BXD2B5eP.js";import{A as x}from"./AdminLayout-DPnbrU6R.js";import{B as u}from"./button-DylKzUXj.js";import{C as j,a as f,b as g,c as N}from"./card-CbIQGTG-.js";import{I as r}from"./input-BlPRfX7R.js";import{L as t}from"./label-DmUKaOBW.js";import{I as i}from"./InputError-BzpvKLo3.js";import{L as w}from"./loader-circle-9vy91IuF.js";import"./index-Bth_M-wI.js";import"./index-CX9bDgWD.js";import"./dropdown-menu-CT8ek2jp.js";import"./index-jdRYo6ia.js";import"./toaster--0lha4Fi.js";import"./x-E5HdCfD7.js";import"./createLucideIcon-CV8Pe8Ty.js";import"./Combination-D0I-hRqe.js";import"./index-BvPdTlb4.js";import"./chevron-right-CSbLWkIe.js";import"./users-B6Ef6P-m.js";import"./graduation-cap-C_YDrRI7.js";import"./clipboard-list-CblFUnuG.js";import"./scroll-Drc4LfeM.js";function J(){const l=p().props.auth.user,{setData:e,post:n,processing:m,errors:o}=c({kabupaten_kota_id:"",nama:"",email:"",role:"admin",no_telp:"",password:"",password_confirmation:""}),d=a=>{a.preventDefault(),n(route("admin.instruktur.store"),{onFinish:()=>console.log("okoc")})};return s.jsxs(x,{user:l,header:s.jsx("h2",{className:"text-xl font-semibold leading-tight text-gray-800",children:"Tambah Instruktur"}),children:[s.jsx(h,{title:"Tambah Instruktur"}),s.jsx("div",{className:"flex items-center justify-between mb-2",children:s.jsx("h1",{className:"text-lg font-bold md:text-2xl",children:"Tambah Instruktur"})}),s.jsxs(j,{className:"max-w-2xl shadow-xl",children:[s.jsx(f,{children:s.jsx(g,{children:"Tambah Instruktur"})}),s.jsx(N,{children:s.jsxs("form",{onSubmit:d,className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(t,{htmlFor:"email",children:"Email*"}),s.jsx(r,{type:"email",onChange:a=>{e("email",a.target.value)},id:"email",placeholder:"[email protected]",required:!0}),s.jsx(i,{message:o.email,className:"mt-2"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(t,{htmlFor:"nama",children:"Nama*"}),s.jsx(r,{onChange:a=>{e("nama",a.target.value)},id:"nama",placeholder:"Nama Instruktur",required:!0}),s.jsx(i,{message:o.nama,className:"mt-2"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(t,{htmlFor:"no_telp",children:"No Telp"}),s.jsx(r,{onChange:a=>{e("no_telp",a.target.value)},id:"no_telp",placeholder:"No Telp Instruktur"}),s.jsx(i,{message:o.no_telp,className:"mt-2"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(t,{htmlFor:"password",children:"Password*"}),s.jsx(r,{onChange:a=>{e("password",a.target.value)},id:"password",placeholder:"Password",type:"password",required:!0}),s.jsx(i,{message:o.password,className:"mt-2"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(t,{htmlFor:"password_confirmation",children:"Password Confirm*"}),s.jsx(r,{onChange:a=>{e("password_confirmation",a.target.value)},id:"password_confirmation",placeholder:"password_confirmation",type:"password",required:!0})]}),s.jsxs(u,{disabled:m,children:[m&&s.jsx(w,{className:"animate-spin"})," Tambah"]})]})})]})]})}export{J as default};

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]