<span id="am_{$id|escape}" class="form-message form-message__error"></span>
<input type="email" value="{$value|escape}" class="form-control" name="{$id|escape}" onblur="checkField($(this), '{$id|escape}')"/>