#18250: Removing extra space when "Lost passzord" is displayed

Work Items: 18250

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-12-02 15:20:45 -08:00
parent f2f376d46d
commit b996a14a69
2 changed files with 3 additions and 3 deletions

View File

@@ -13,11 +13,11 @@
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.UsersCanRegister)">@T("Users can create new accounts on the site")</label>
</div>
<div>
<input type="checkbox" class="check-box" id="@Html.FieldIdFor(m => m.EnableLostPassword)" name="@Html.FieldNameFor(m => m.EnableLostPassword)" @(emailEnabled ? "" : "disabled=\"disabled\"")/>
<input type="checkbox" value="true" class="check-box" id="@Html.FieldIdFor(m => m.EnableLostPassword)" name="@Html.FieldNameFor(m => m.EnableLostPassword)" @(Model.EnableLostPassword ? "checked=\"checked\"" : "") @(emailEnabled ? "" : "disabled=\"disabled\"")/>
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.EnableLostPassword)">@T("Display a link to enable users to reset their password")</label>
</div>
<div>
<input type="checkbox" class="check-box" id="@Html.FieldIdFor(m => m.UsersMustValidateEmail)" name="@Html.FieldNameFor(m => m.UsersMustValidateEmail)" @(emailEnabled ? "" : "disabled=\"disabled\"")/>
<input type="checkbox" value="true" class="check-box" id="@Html.FieldIdFor(m => m.UsersMustValidateEmail)" name="@Html.FieldNameFor(m => m.UsersMustValidateEmail)" @(Model.UsersMustValidateEmail ? "checked=\"checked\"" : "") @(emailEnabled ? "" : "disabled=\"disabled\"")/>
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.UsersMustValidateEmail)">@T("Users must verify their email address")</label>
</div>
<div data-controllerid="@Html.FieldIdFor(m => m.UsersMustValidateEmail)">

View File

@@ -9,7 +9,7 @@
<p>
@T("Please enter your username and password.")
@if(userCanRegister) { @Html.ActionLink(T("Register").Text, "Register") @T(" if you don't have an account.") }
@if(enableLostPassword) { <text>&nbsp;</text> @Html.ActionLink(T("Lost your Password?").Text, "RequestLostPassword") }
@if(enableLostPassword) { <text> </text> @Html.ActionLink(T("Lost your Password?").Text, "RequestLostPassword") }
</p>
@Html.ValidationSummary(T("Login was unsuccessful. Please correct the errors and try again.").ToString())