Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11237 Rev 11268
Línea 247... Línea 247...
247
													<div className="card" key={competency.competency_uuid}>
247
													<div className="card" key={competency.competency_uuid}>
248
														<div className="card-header">
248
														<div className="card-header">
249
															<h5>{competency.competency_name} - {competency.competency_type_name}</h5>
249
															<h5>{competency.competency_name} - {competency.competency_type_name}</h5>
250
														</div>
250
														</div>
251
														<div className="card-body">
251
														<div className="card-body">
-
 
252
															<div className="table-responsive">
252
															{
253
																{
253
																competency.behaviors
254
																	competency.behaviors
254
																&&
255
																	&&
255
																competency.behaviors.map((behavior) => (
256
																	competency.behaviors.map((behavior) => (
256
																	<table key={behavior.uuid} className="table table-hover">
257
																		<table key={behavior.uuid} className="table table-hover">
257
																		<thead>
258
																			<thead>
258
																			<tr>
259
																				<tr>
259
																				<th style={{ width: '20%' }}>Conducta Observable</th>
260
																					<th style={{ width: '20%' }}>Conducta Observable</th>
260
																				<th style={{ width: '60%' }}>Comentario</th>
261
																					<th style={{ width: '60%' }}>Comentario</th>
261
																				<th style={{ width: '20%' }}>Evaluación</th>
262
																					<th style={{ width: '20%' }}>Evaluación</th>
262
																			</tr>
263
																				</tr>
263
																		</thead>
264
																			</thead>
264
																		<tbody>
265
																			<tbody>
265
																			<tr>
266
																				<tr>
266
																				<td style={{ width: '20%' }}>{behavior.description}</td>
267
																					<td style={{ width: '20%' }}>{behavior.description}</td>
267
																				<td style={{ width: '60%' }}>
268
																					<td style={{ width: '60%' }}>
268
																					<textarea
269
																						<textarea
269
																						name={`${behavior.competency_uuid}-${behavior.uuid}-comment`}
270
																							name={`${behavior.competency_uuid}-${behavior.uuid}-comment`}
270
																						cols="30"
271
																							cols="30"
271
																						rows="3"
272
																							rows="3"
272
																						ref={register}
273
																							ref={register}
273
																						className='form-control w100'
274
																							className='form-control w100'
274
																					/>
275
																						/>
275
																				</td>
276
																					</td>
276
																				<td style={{ width: '20%' }}>
277
																					<td style={{ width: '20%' }}>
277
																					<select className='form-control' name={`select-${behavior.competency_uuid}-${behavior.uuid}`} ref={register}>
278
																						<select className='form-control' name={`select-${behavior.competency_uuid}-${behavior.uuid}`} ref={register}>
278
																						{
279
																							{
279
																							pointsOptions.map(({ label, value }) => {
280
																								pointsOptions.map(({ label, value }) => {
280
																								return <option selected={watch(`select-${behavior.competency_uuid}-${behavior.uuid}`) === value} key={value} value={value}>{label}</option>
281
																									return <option selected={watch(`select-${behavior.competency_uuid}-${behavior.uuid}`) === value} key={value} value={value}>{label}</option>
281
																							})
282
																								})
282
																						}
283
																							}
283
																					</select>
284
																						</select>
284
																				</td>
285
																					</td>
285
																			</tr>
286
																				</tr>
286
																		</tbody>
287
																			</tbody>
287
																	</table>
288
																		</table>
288
																))
289
																	))
289
															}
290
																}
-
 
291
															</div>
290
														</div>
292
														</div>
291
													</div>
293
													</div>
292
												))
294
												))
293
											}
295
											}
294
										</div>
296
										</div>