mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Update Link.Edit.cshtml (#6768)
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@
|
|||||||
<label for="@Html.FieldIdFor(m => m.Text)" @if (settings.LinkTextMode == LinkTextMode.Required) { <text> class="required" </text> }>@T("Text")</label>
|
<label for="@Html.FieldIdFor(m => m.Text)" @if (settings.LinkTextMode == LinkTextMode.Required) { <text> class="required" </text> }>@T("Text")</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="editor-field">
|
<div class="editor-field">
|
||||||
@(isTextRequired ? Html.TextBoxFor(m => m.Text, new { @class = "text medium", placeholder = settings.TextPlaceholder, required = "required" }) : Html.TextBoxFor(m => m.Text, new { @class = "text medium", placeholder = settings.TextPlaceholder }))
|
@(isTextRequired ? Html.TextBoxFor(m => m.Text, new { @class = "text medium", required = "required" }) : Html.TextBoxFor(m => m.Text, new { @class = "text medium" }))
|
||||||
@if (!String.IsNullOrWhiteSpace(settings.TextDefaultValue)) {
|
@if (!String.IsNullOrWhiteSpace(settings.TextDefaultValue)) {
|
||||||
<span class="hint">@T("If the field is left empty then the default value will be used.")</span>
|
<span class="hint">@T("If the field is left empty then the default value will be used.")</span>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user