Bootstrap Form Horizontal Checkbox

[code language=”html”]
<div class="form-group">
@Html.LabelFor(model => model.Approve, new { @class = "col-xs-2 control-label" })
<div class="col-xs-4">
<div class="checkbox">
<label>
@Html.EditorFor(model => model.Approve, new { @class = "text" })
</label>
</div>
@Html.ValidationMessageFor(model => model.Approve)
</div>
</div>
[/code]

This entry was posted in   CSS.
Bookmark the   permalink.

Chandra Oemaryadi has written 244 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>