<label <?php 
if ($marker->attributeHasError('firstName')) {
    echo "class='error'";
}
?>
>Prénom
                                        <input type="text" 
                                               name="firstName" 
                                               value="<?php 
echo $marker->FirstName;
?>
" />
                                    </label>
									<?php 
if ($marker->attributeHasError('firstName')) {
    echo "<small class='error'>" . $marker->getAttributeError("firstName") . "</small>";
}
?>
									
                                </div>
                                <div class="small-6 columns">
                                    <label <?php 
if ($marker->attributeHasError('lastName')) {
    echo "class='error'";
}
?>
>Nom
                                        <input type="text" name="lastName" value="<?php 
echo $marker->LastName;
?>
" />