Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10519 Rev 10520
Línea 147... Línea 147...
147
											<label>Comentario</label>
147
											<label>Comentario</label>
148
											<input type="text" name="comment" className="form-control" />
148
											<input type="text" name="comment" className="form-control" />
149
										</div>
149
										</div>
150
										<div className="form-group">
150
										<div className="form-group">
151
											<label>Evaluación</label>
151
											<label>Evaluación</label>
-
 
152
											<select
-
 
153
												className='form-control'
-
 
154
												name='points'
152
											<select name='points' onChange={(e) => setCurrentPoints({ ...currentPoints, value: e.target.value })} value={currentPoints}>
155
												onChange={(e) => setCurrentPoints({ ...currentPoints, value: e.target.value })}
-
 
156
												value={currentPoints}
-
 
157
											>
153
												{
158
												{
154
													pointsOptions.map(({ label, value }) => (
159
													pointsOptions.map(({ label, value }) => (
155
														<option key={value} value={value}>{label}</option>
160
														<option key={value} value={value}>{label}</option>
156
													))
161
													))
157
												}
162
												}
158
											</select>
163
											</select>
159
										</div>
164
										</div>
160
										<div className="form-group">
165
										<div className="form-group">
161
											<label>Estatus</label>
166
											<label>Estatus</label>
-
 
167
											<select
-
 
168
												className='form-control'
-
 
169
												name='status'
162
											<select name='status' onChange={(e) => setCurrentStatus({ ...currentStatus, value: e.target.value })} value={currentStatus}>
170
												onChange={(e) => setCurrentStatus({ value: e.target.value, label: setStatusOptions.map(status => status.value === e.target.value && status.label) })}
-
 
171
												value={currentStatus}
-
 
172
											>
163
												{
173
												{
164
													statusOptions.map(({ label, value }) => (
174
													statusOptions.map(({ label, value }) => (
165
														<option key={value} value={value}>{label}</option>
175
														<option key={value} value={value}>{label}</option>
166
													))
176
													))
167
												}
177
												}