コード例 #1
0
    $data['provinciaSelected'] = null;
}
?>
<div class="container">
<h1>Información personal</h1>
<form action="<?php 
echo URL . $data['destino'];
?>
" method="post" name="persona" enctype="multipart/form-data">
<?php 
if (isset($data["errores"]) && !empty($data['errores'])) {
    ?>
<p>
	<h2 class="titulo-error">Errores</h2>
	<?php 
    HelperFunctions::mostrarErroresArray($data['errores']);
    ?>
</p>
<?php 
}
?>
<p>
	<label for "nombre">Nombre:</label>
	<input type="text" name="nombre" maxlength="25" required autofocus value="<?php 
isset($data['persona']['nombre']) ? HelperFunctions::mostrarDatos($data['persona'], 'nombre') : "";
?>
"><br>
	<?php 
if (isset($data['errores']['nombre'])) {
    HelperFunctions::mostrarErrores($data['errores']['nombre']);
} else {