Posted By

DennisvanderStelt on 08/05/14


Tagged


Versions (?)

MVC part of


 / Published in: C#
 

The MVC razor part of it

  1. <div class="form-group">
  2. @Html.TextBoxFor(s => s.MyEmail, new { @class = "form-control", placeholder = "Email" })
  3. @Html.ValidationMessageFor(s => s.MyEmail, null, new { @class = "help-block" })
  4. </div>

Report this snippet  

You need to login to post a comment.