Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4144 | Rev 4147 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4144 Rev 4145
Línea 1011... Línea 1011...
1011
  const [date, setDate] = useState({
1011
  const [date, setDate] = useState({
1012
    year: dt.toLocaleString("default", { year: "numeric" }),
1012
    year: dt.toLocaleString("default", { year: "numeric" }),
1013
    month: dt.toLocaleString("default", { month: "2-digit" }),
1013
    month: dt.toLocaleString("default", { month: "2-digit" }),
1014
    day: dt.toLocaleString("default", { day: "2-digit" })
1014
    day: dt.toLocaleString("default", { day: "2-digit" })
1015
  })
1015
  })
1016
  const [time, setTime] = useState(new Date().toLocaleString("es", { hour: 'numeric', minute: '2-digit', second: '2-digit' }))
1016
  const [time, setTime] = useState(dt.toLocaleString("es", { hour: 'numeric', minute: '2-digit', second: '2-digit' }))
1017
  const [coferenceType, setConferenceType] = useState(1)
1017
  const [coferenceType, setConferenceType] = useState(1)
1018
  const dispatch = useDispatch()
1018
  const dispatch = useDispatch()
Línea 1019... Línea 1019...
1019
 
1019
 
Línea 1064... Línea 1064...
1064
    <StyleModal
1064
    <StyleModal
1065
      title='Crea una conferencia'
1065
      title='Crea una conferencia'
1066
      size='md'
1066
      size='md'
1067
      show={show}
1067
      show={show}
1068
    >
1068
    >
1069
      <form onSubmit={handleSubmit(onSubmit)}>
1069
      <form onSubmit={handleSubmit(onSubmit)} autoComplete="new-password">
1070
        <div className="form-group">
1070
        <div className="form-group">
1071
          <label htmlFor="first_name">Título</label>
1071
          <label htmlFor="first_name">Título</label>
1072
          <input
1072
          <input
1073
            type="text"
1073
            type="text"
1074
            name="title"
1074
            name="title"
Línea 1159... Línea 1159...
1159
            type="password"
1159
            type="password"
1160
            name="password"
1160
            name="password"
1161
            className="form-control"
1161
            className="form-control"
1162
            ref={register({
1162
            ref={register({
1163
              required: "Por favor ingrese una contraseña",
1163
              required: "Por favor ingrese una contraseña",
1164
              minLength: { value: 6, message: "La contraseña debe tener al menos 6 digitos" }
1164
              maxLength: { value: 6, message: "La contraseña debe tener al menos 6 digitos" }
1165
            })}
1165
            })}
1166
          />
1166
          />
1167
          {errors.password && <FormErrorFeedback> {errors.password.message}</FormErrorFeedback>}
1167
          {errors.password && <FormErrorFeedback> {errors.password.message}</FormErrorFeedback>}
1168
        </div>
1168
        </div>
1169
        <button
1169
        <button