Skip to content

Commit 760bad1

Browse files
committed
fix(content-fields): change div to label
1 parent 2bd0993 commit 760bad1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Modules/StatCan.OrchardCore.ContentFields/Views/TextField-PredefinedGroup.Edit.cshtml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
}
2626

2727
<div class="form-group">
28-
<div asp-for="Text">@Model.PartFieldDefinition.DisplayName()</div>
29-
28+
<label class="d-block" asp-for="Text">@Model.PartFieldDefinition.DisplayName()</label>
3029
@if (listSettings.Editor == StatCan.OrchardCore.ContentFields.Settings.EditorOption.ButtonGroup)
3130
{
3231
var i = 0;

0 commit comments

Comments
 (0)