<span>
	* Medias: <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	Especficar todas las necesarias separadas por comas, según la siguiente nomenclatura
	<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	T = Titulación, C = Centro, U = Universidad, CM = Min/Max Centro, UM = Min/Max Universidad
</span>
<form enctype='multipart/form-data' method="POST" action="/admin/templates/inds/update" style="margin-top:25px;" id="inds_form">

	<input name="proces" th:value="${proces}" type="hidden"/>
	<input name="evidencia" th:value="${evidencia}" type="hidden"/>
	

	<table class="table table-striped table-bordered display responsive no-wrap display">
		<thead>
	        <tr>
	        	<th class="uv-table-no-sort">Indicador</th>
	        	<th class="uv-table-no-sort">Enquesta</th>
	        	<th class="uv-table-no-sort">Media</th>
	        	<th class="uv-table-no-sort"></th>
	        </tr>
	    </thead>
		<tbody id="inds_table_body">
			<tr th:each="item : ${inds}">
				<td>
					<input name="indicador[]" th:value="${item.id.indicador}" class="uv-clear-input form-control"/>
				</td>
				<td>
					<select name="enquesta[]" class="uv-clear-input form-control">
						<optgroup label="Grado">
							<option value="dades_1er" th:selected="${item.id.enquesta} == 'dades_1er'">dades_1er</option>
							<option value="dades_3er" th:selected="${item.id.enquesta} == 'dades_3er'">dades_3er</option>
							<option value="dades_graduats" th:selected="${item.id.enquesta} == 'dades_graduats'">dades_graduats</option>
							<option value="profes" th:selected="${item.id.enquesta} == 'profes'">profes</option>
						</optgroup>
						<optgroup label="Máster">
							<option value="data" th:selected="${item.id.enquesta} == 'data'">data</option>
							<option value="data_g" th:selected="${item.id.enquesta} == 'data_g'">data_g</option>
							<option value="data_i" th:selected="${item.id.enquesta} == 'data_i'">data_i</option>
							<option value="profes_tancades" th:selected="${item.id.enquesta} == 'profes_tancades'">profes_tancades</option>
						</optgroup>
						<optgroup label="Eval. Prof.">
							<option value="eval_prof" th:selected="${item.id.enquesta} == 'eval_prof'">eval_prof</option>
						</optgroup>
						<optgroup label="PAS">
							<option value="dadespas" th:selected="${item.id.enquesta} == 'dadespas'">dadespas</option>
						</optgroup>
					</select>
				</td>
				<td>
					<input name="media[]" th:value="${item.media}" class="uv-clear-input form-control"/>
				</td>
				<td>
					<span class="pointer" style="color:red;" onclick="removeRow(this);"><i class="fas fa-times"></i></span>
				</td>
			</tr>
		</tbody>
		<tfoot>
			<tr>
				<td>
					<input id="new_val_indicador" value="" class="uv-clear-input form-control"/>
				</td>
				<td>
					<select id="new_val_enquesta" class="uv-clear-input form-control">
<!-- 							<option disabled>Grado</option> -->
<!-- 							<option value="dades_1er" selected="selected">dades_1er</option> -->
<!-- 							<option value="dades_3er">dades_3er</option> -->
<!-- 							<option value="dades_graduats">dades_graduats</option> -->
<!-- 							<option value="profes">profes</option> -->
<!-- 							<option disabled>Máster</option> -->
<!-- 							<option value="data">data</option> -->
<!-- 							<option value="data_g">data_g</option> -->
<!-- 							<option value="data_g">data_i</option> -->
<!-- 							<option value="profes_tancades">profes_tancades</option> -->
<!-- 							<option disabled>Eval. Prof</option> -->
<!-- 							<option value="eval_prof">eval_prof</option> -->
<!-- 							<option disabled>PAS</option> -->
<!-- 							<option value="dadespas">dadespas</option> -->
						<optgroup label="Grado">
							<option value="dades_1er">dades_1er</option>
							<option value="dades_3er">dades_3er</option>
							<option value="dades_graduats">dades_graduats</option>
							<option value="profes">profes</option>
						</optgroup>
						<optgroup label="Máster">
							<option value="data">data</option>
							<option value="data_g">data_g</option>
							<option value="data_i">data_i</option>
							<option value="profes_tancades">profes_tancades</option>
						</optgroup>
						<optgroup label="Eval. Prof.">
							<option value="eval_prof">eval_prof</option>
						</optgroup>
						<optgroup label="PAS">
							<option value="dadespas">dadespas</option>
						</optgroup>
					</select>
				</td>
				<td>
					<input id="new_val_media" value="" class="uv-clear-input form-control"/>
				</td>
				<td>
					<span class="pointer" style="color:green;" onclick="addRow(this);"><i class="fas fa-plus"></i></span>
				</td>
			</tr>
		</tfoot>
	</table>
</form>
