Skip to content

Commit

Permalink
Set html classes to make the scripts work again (removed in OrchardCM…
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-spits-servico committed Sep 18, 2023
1 parent ccacef1 commit 0c7b873
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<input type="hidden" name="@Html.NameFor(m => m.ContentTypes[i].ContentTypeName)"
value="@Model.ContentTypes[i].ContentTypeName" />
<div class="mb-3 form-check">
<input asp-for="ContentTypes[i].IsChecked" type="checkbox" class="form-check-input" />
<input asp-for="ContentTypes[i].IsChecked" type="checkbox" class="form-check-input content-type-checkbox" />
<label asp-for="ContentTypes[i].IsChecked" class="form-check-label">@Model.ContentTypes[i].ContentTypeDisplayName</label>
</div>
</div>
Expand Down Expand Up @@ -126,7 +126,7 @@
<input type="hidden" name="@Html.NameFor(m => m.LimitedContentTypes[i].ContentTypeName)"
value="@Model.LimitedContentTypes[i].ContentTypeName" />
<div class="mb-3 form-check">
<input type="radio" id="LimitedContentTypes_@i" asp-for="LimitedContentType" value="@Model.LimitedContentTypes[i].ContentTypeName" class="form-check-input" />
<input type="radio" id="LimitedContentTypes_@i" asp-for="LimitedContentType" value="@Model.LimitedContentTypes[i].ContentTypeName" class="form-check-input content-type-radio" />
<label for="LimitedContentTypes_@i" class="form-check-label">@Model.LimitedContentTypes[i].ContentTypeDisplayName</label>
</div>
</div>
Expand Down

0 comments on commit 0c7b873

Please sign in to comment.