Hi Team
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.
- // View
- class="form-group row">
- ="Dietary requirement" class="col-sm-2 col-form-label">Dietary requirements
class="col-sm-2">- @Html.CheckBoxFor(model => model.DietMain.None)="None">None
class="form-group row">- @Html.CheckBoxFor(model => model.DietMain.Vegetarian, new { @class="col-sm-2" })
- ="Vegetarian">Vegetarian
Jignesh KumarPosted Jul 1, 2020, 6:42 AM