电邮地址:
<label for="job_client_email">Email: </label>
<input type="email" name="job[client_email]" id="job_client_email">
看起来像这样:
但是,如果电子邮件验证失败,它就会变成:
<div class="field_with_errors">
<label for="job_client_email">Email: </label>
</div>
<div class="field_with_errors">
<input type="email" value="wrong email" name="job[client_email]" id="job_client_email">
</div>
看起来像这样:
我怎样才能避免这种外表的改变呢?