<div class="row">
	<form id="form_edit_equipos" action="" method="post" accept-charset="utf-8">
		<!-- Token CSRF -->
		<input type="hidden" name="csrf_test_name" value="<?= csrf_hash(); ?>">

		<div class="row">
			<div class="col-3">
				<div class="form-floating">
					<input type="number" step="1" class="form-control" name="id_cliente" placeholder="id_cliente" <?php if ((session()->get('user_role')) != 'Administrador') { echo 'readonly'; } ?> required 
					value="<?php if (isset($cliente['id'])) {     echo $cliente['id']; } ?>">
					<label class=" text-muted" for="id">Id_Cliente</label>
				</div>
			</div>
			<div class="col-3">
				<div class="form-floating">
					<input type="number" step="1" class="form-control" name="id_equipo" placeholder="id_equipo" readonly required value="">
					<label class=" text-muted" for="id">Id_Equipo</label>
				</div>
			</div>
			<div class="col-6">
				<div class="form-floating">
					<input type="text" class="form-control" name="modelo_edit" placeholder="Modelo" maxlength="80" style="text-transform: capitalize;" required >
					<label class="text-muted" for="modelo">Modelo</label>
				</div>
			</div>
		</div>

		<div class="row">
			<div class="col-6">
				<div class="form-floating">
					<input type="text" class="form-control" name="serial_edit" placeholder="Serial" style="text-transform: uppercase;">
					<label class="text-muted" for="serial">Serial</label>
				</div>
			</div>
			<div class="col-6">
				<div class="form-floating">
					<input type="text" class="form-control" name="linea_edit" placeholder="Linea" style="text-transform: capitalize;">
					<label class="text-muted" for="serial">Linea</label>
				</div>
			</div>
		</div>

		<hr>
		<div class="d-flex justify-content-between">
			<div></div>
			<div><button type="submit" class="btn btn-secondary">Enviar</button></div>

		</div>
	</form>
</div>