I have create a new checkboxFor, the problem i cant create a new line using bootstrap class. To allow align of the new class. They seem scewed and have this below logic on my Razor in chtml.
-
-
- <div class="form-group row">
- <label for="Dietary requirement" class="col-sm-2 col-form-label">Dietary requirements</label>
- <div class="col-sm-2">
- @Html.CheckBoxFor(model => model.DietMain.None)<label for="None">None</label>
-
- </div>
-
- <div class="form-group row">
-
- @Html.CheckBoxFor(model => model.DietMain.Vegetarian, new { @class="col-sm-2" })
- <br/>
- <label for="Vegetarian">Vegetarian</label>
-
- </div>
- </div>