Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16256 Rev 16257
Línea 156... Línea 156...
156
                initialValue={Date.parse(new Date())}
156
                initialValue={Date.parse(new Date())}
157
                closeOnSelect
157
                closeOnSelect
158
              />
158
              />
159
            </div>
159
            </div>
160
          )}
160
          )}
161
          <div className="form-group">
-
 
162
            <label htmlFor="timezone">Zona horaria</label>
-
 
163
            <select
-
 
164
              className="form-control"
-
 
165
              name="timezone"
-
 
166
              ref={register({ required: "Por favor elige una Zona horaria" })}
-
 
167
            >
161
 
168
              <option value="" hidden>
-
 
169
                Zona horaria
-
 
170
              </option>
-
 
171
              {Object.entries(timezones).map(([key, value]) => (
-
 
172
                <option value={key} key={key}>
-
 
173
                  {value}
-
 
174
                </option>
-
 
175
              ))}
-
 
176
            </select>
-
 
177
            {errors.timezone && (
-
 
178
              <FormErrorFeedback>{errors.timezone.message}</FormErrorFeedback>
-
 
179
            )}
-
 
180
          </div>
-
 
181
          <div className="form-group">
162
          <div className="form-group">
182
            <label htmlFor="timezone">Duración</label>
163
            <label htmlFor="timezone">Duración</label>
183
            <select className="form-control" name="duration" ref={register}>
164
            <select className="form-control" name="duration" ref={register}>
184
              <option value={5}>5-min</option>
165
              <option value={5}>5-min</option>
185
              <option value={10}>10-min</option>
166
              <option value={10}>10-min</option>