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-C-IRs8z2.js

import{X as p,G as c,j as s,S as h}from"./app-BCACiV_h.js";import{A as x}from"./AdminLayout-Bm9Mn0rP.js";import{B as u}from"./button-96HelbSb.js";import{C as j,a as f,b as g,c as N}from"./card-Cl3C6dIs.js";import{I as r}from"./input-C0GT1yBI.js";import{L as t}from"./label-C3A8D7NS.js";import{I as i}from"./InputError-BmCfJcM8.js";import{L as w}from"./loader-circle-iKiJ48VG.js";import"./index-Bjh4LSUj.js";import"./index-BOyYRdd2.js";import"./dropdown-menu-CsxFDxhV.js";import"./index-BH6lUORs.js";import"./toaster-U69lirBO.js";import"./x-BZmooK4p.js";import"./createLucideIcon-Cb2AHrGc.js";import"./Combination-DXlZC2G-.js";import"./index-DAkn3sG1.js";import"./chevron-right-C6YYzznv.js";import"./users-b23dSEY2.js";import"./graduation-cap-Cv1eM4SE.js";import"./clipboard-list-DAuGiQEb.js";import"./scroll-yUw0dVl-.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]