Skip to content

Commit

Permalink
Reorder checkbox options in EditPost.cshtml
Browse files Browse the repository at this point in the history
Reordered the checkbox options in the `EditPost.cshtml` form to improve the logical grouping and user interface. Specifically, the "Featured" checkbox has been moved to a position after the "FeedIncluded" checkbox and before the "IsOutdated" checkbox, reflecting a change in priority or logical grouping of the options.
  • Loading branch information
EdiWang committed Jun 18, 2024
1 parent f10dd42 commit d002797
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Moonglade.Web/Pages/Admin/EditPost.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -281,14 +281,14 @@
<input type="checkbox" name="EnableComment" value="true" class="form-check-input" @(Model.ViewModel.EnableComment ? "checked" : null)>
<label asp-for="ViewModel.EnableComment" class="form-check-label"></label>
</div>
<div class="form-check form-switch mb-2">
<input type="checkbox" name="Featured" value="true" class="form-check-input" @(Model.ViewModel.Featured ? "checked" : null)>
<label asp-for="ViewModel.Featured" class="form-check-label"></label>
</div>
<div class="form-check form-switch">
<input type="checkbox" name="FeedIncluded" value="true" class="form-check-input" @(Model.ViewModel.FeedIncluded ? "checked" : null)>
<label asp-for="ViewModel.FeedIncluded" class="form-check-label"></label>
</div>
<div class="form-check form-switch mb-2">
<input type="checkbox" name="Featured" value="true" class="form-check-input" @(Model.ViewModel.Featured ? "checked" : null)>
<label asp-for="ViewModel.Featured" class="form-check-label"></label>
</div>
<div class="form-check form-switch">
<input type="checkbox" name="IsOutdated" value="true" class="form-check-input" @(Model.ViewModel.IsOutdated ? "checked" : null)>
<label asp-for="ViewModel.IsOutdated" class="form-check-label"></label>
Expand Down

0 comments on commit d002797

Please sign in to comment.