delete birtday and fixed one word
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
display: flex;
|
||||
width: 100%;
|
||||
justify-content: space-evenly;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
/* ===== RESPONSIVE ===== */
|
||||
|
||||
@@ -25,7 +25,6 @@ export default function RegisterAlta(props: urlProp) {
|
||||
nombre: "",
|
||||
apellidoP: "",
|
||||
apellidoM: "",
|
||||
fecha: "",
|
||||
email: `${props.numCount}@pcpuma.acatlan.unam.mx`,
|
||||
genero: "",
|
||||
carrera: "",
|
||||
@@ -65,7 +64,6 @@ export default function RegisterAlta(props: urlProp) {
|
||||
const payload = {
|
||||
id_cuenta: Number(form.cuenta),
|
||||
nombre: `${form.apellidoP} ${form.apellidoM} ${form.nombre}`.trim(),
|
||||
fecha_nacimiento: form.fecha.replaceAll("-", ""),
|
||||
correo: form.email || undefined,
|
||||
id_carrera: Number(form.carrera),
|
||||
genero: form.genero || undefined,
|
||||
@@ -136,17 +134,6 @@ export default function RegisterAlta(props: urlProp) {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="containerForm">
|
||||
<label className="label">Fecha Nacimiento</label>
|
||||
<input
|
||||
type="date"
|
||||
name="fecha"
|
||||
value={form.fecha}
|
||||
onChange={handleChange}
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="containerForm">
|
||||
<label className="label">Email</label>
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user