-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removing unnecessary example (#2513)
- Loading branch information
1 parent
9a648a1
commit 2ef89ba
Showing
3 changed files
with
3 additions
and
17 deletions.
There are no files selected for viewing
5 changes: 1 addition & 4 deletions
5
...OrchardCore.Modules/OrchardCore.ContentFields/Settings/TextFieldTextAreaEditorSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
namespace OrchardCore.ContentFields.Settings | ||
{ | ||
public class TextFieldTextAreaEditorSettings | ||
{ | ||
public string Color { get; set; } | ||
} | ||
public class TextFieldTextAreaEditorSettings { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 1 addition & 11 deletions
12
...dCore.Modules/OrchardCore.ContentFields/Views/TextFieldTextAreaEditorSettings.Edit.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1 @@ | ||
@model OrchardCore.ContentFields.Settings.TextFieldTextAreaEditorSettings | ||
|
||
<div class="field-editor field-editor-textarea"> | ||
<fieldset class="form-group"> | ||
<div class="row col-sm-6"> | ||
<label asp-for="Color">@T["Color"]</label> | ||
<input asp-for="Color" class="form-control" /> | ||
<span class="hint">@T["The color of the textarea."]</span> | ||
</div> | ||
</fieldset> | ||
</div> | ||
@model OrchardCore.ContentFields.Settings.TextFieldTextAreaEditorSettings |