mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Converting usages of Html.LabelFor to the localizable overload.
Also inserted spaces where necessary (e.g. 'TagName' -> 'Tag Name'). --HG-- branch : dev
This commit is contained in:
@@ -5,25 +5,25 @@
|
||||
@Html.ValidationSummary()
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m=>m.UserName)
|
||||
@Html.LabelFor(m => m.UserName, T("User Name"))
|
||||
@Html.TextBoxFor(m=>m.UserName, new { @class = "textMedium" })
|
||||
@Html.ValidationMessageFor(m=>m.UserName, "*")
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m=>m.Email)
|
||||
@Html.LabelFor(m => m.Email, T("Email"))
|
||||
@Html.TextBoxFor(m=>m.Email, new { @class = "textMedium" })
|
||||
@Html.ValidationMessageFor(m=>m.Email, "*")
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m=>m.Password)
|
||||
@Html.LabelFor(m => m.Password, T("Password"))
|
||||
@Html.PasswordFor(m=>m.Password, new { @class = "textMedium" })
|
||||
@Html.ValidationMessageFor(m=>m.Password, "*")
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m=>m.ConfirmPassword)
|
||||
@Html.LabelFor(m => m.ConfirmPassword, T("Confirm Password"))
|
||||
@Html.PasswordFor(m=>m.ConfirmPassword, new { @class = "textMedium" })
|
||||
@Html.ValidationMessageFor(m=>m.ConfirmPassword, "*")
|
||||
</fieldset>
|
||||
|
@@ -5,13 +5,13 @@
|
||||
@Html.ValidationSummary()
|
||||
@Html.EditorFor(m=>m.Id)
|
||||
<fieldset>
|
||||
@Html.LabelFor(m=>m.UserName)
|
||||
@Html.LabelFor(m => m.UserName, T("User Name"))
|
||||
@Html.TextBoxFor(m=>m.UserName, new { @class = "textMedium" })
|
||||
@Html.ValidationMessageFor(m=>m.UserName, "*")
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m=>m.Email)
|
||||
@Html.LabelFor(m => m.Email, T("Email"))
|
||||
@Html.TextBoxFor(m=>m.Email, new { @class = "textMedium" })
|
||||
@Html.ValidationMessageFor(m=>m.Email, "*")
|
||||
</fieldset>
|
||||
|
Reference in New Issue
Block a user