Skip to content

Commit

Permalink
fix more broken html from the move from form-group to fieldset
Browse files Browse the repository at this point in the history
  • Loading branch information
adelikat committed Oct 7, 2023
1 parent 567ca6c commit dfc38e7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion TASVideos/Pages/Account/Register.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<input asp-for="From" type="text" class="form-control" />
<span asp-validation-for="From" class="text-danger"></span>
</fieldset>
<form-group class="mt-3">
<fieldset class="mt-3">
<div class="form-check">
<label asp-for="Coppa" class="form-check-label"></label>
<input asp-for="Coppa" type="checkbox" class="form-check-input"/>
Expand Down
2 changes: 1 addition & 1 deletion TASVideos/Pages/Forum/Topics/Move.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<form method="post">
<input type="hidden" asp-for="Topic.TopicTitle" />
<input type="hidden" asp-for="Topic.ForumName" />
<form-group class="col-lg-6">
<fieldset class="col-lg-6">
<label asp-for="Topic.ForumId" class="form-control-label"></label>
<select asp-for="Topic.ForumId" asp-items="Model.AvailableForums.OrderBy(f => f.Text)" class="form-control"></select>
<span asp-validation-for="Topic.ForumId" class="text-danger"></span>
Expand Down
4 changes: 2 additions & 2 deletions TASVideos/Pages/Forum/Topics/Split.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
<input type="hidden" asp-for="Topic.ForumName" />
<input type="hidden" asp-for="Topic.ForumId" />
<input type="hidden" asp-for="Topic.Title" />
<form-group class="col-lg-6">
<fieldset class="col-lg-6">
<label asp-for="Topic.SplitToForumId" class="form-control-label"></label>
<select asp-for="Topic.SplitToForumId" asp-items="Model.AvailableForums.OrderBy(f => f.Text)" class="form-control"></select>
<span asp-validation-for="Topic.SplitToForumId" class="text-danger"></span>
</fieldset>
<form-group class="col-lg-6">
<fieldset class="col-lg-6">
<label asp-for="Topic.SplitTopicName" class="form-control-label"></label>
<input type="text" asp-for="Topic.SplitTopicName" class="form-control" />
<span asp-validation-for="Topic.SplitTopicName" class="text-danger"></span>
Expand Down
6 changes: 3 additions & 3 deletions TASVideos/Pages/Messages/Create.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@

<form method="POST" id="create-form">
<row>
<form-group class="col-lg-6">
<fieldset class="col-lg-6">
<label asp-for="Subject" class="form-control-label"></label>
<input type="text" asp-for="Subject" list="search-username-list" class="form-control" autocomplete="off" />
<span asp-validation-for="Subject" class="text-danger"></span>
</fieldset>
<form-group class="col-lg-6">
<fieldset class="col-lg-6">
<div id="user-form-group" class="mb-2">
<label asp-for="ToUser" class="form-control-label"></label>
<input type="text" asp-for="ToUser" class="form-control" autocomplete="off" placeholder="@Html.DescriptionFor(m => m.ToUser)"/>
Expand All @@ -39,7 +39,7 @@
<partial name="Forum/_CreatePostHelper" model="@("Text")" />
</fullrow>
<row>
<form-group class="col-12">
<fieldset class="col-12">
<label asp-for="Text" class="form-control-label"></label>
<textarea asp-for="Text" class="form-control" rows="20"></textarea>
<span asp-validation-for="Text" class="text-danger"></span>
Expand Down
2 changes: 1 addition & 1 deletion TASVideos/Pages/Publications/EditFiles.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<input asp-for="NewFile" class="form-control" />
<span asp-validation-for="NewFile" class="text-danger"></span>
</fieldset>
<form-group id="description-group">
<fieldset id="description-group">
<label asp-for="Description"></label>
<input type="text" asp-for="Description" class="form-control" />
<span asp-validation-for="Description" class="text-danger"></span>
Expand Down
2 changes: 1 addition & 1 deletion TASVideos/Pages/Wiki/Edit.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<span asp-validation-for="PageToEdit.Markup" class="text-danger"></span>
@await Component.RenderWiki(SystemWiki.WikiEditHelp)
</fieldset>
<form-group class="col-12">
<fieldset class="col-12">
<label asp-for="PageToEdit.RevisionMessage" class="form-control-label"></label>
<div class="input-group">
<input type="text" asp-for="PageToEdit.RevisionMessage" class="form-control" autocomplete="off" />
Expand Down

0 comments on commit dfc38e7

Please sign in to comment.