Permalink
Browse files

Updating LogOn.cshtml

Updating LogOn.cshtlml to fix styling problems and the password entry to display * instead of the actual characters.
  • Loading branch information...
1 parent 093a7f4 commit ff17806966c846784d4f85d151b362b27e89e549 @gyurisc committed Sep 17, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Views/Account/LogOn.cshtml
@@ -20,17 +20,17 @@
@using (Html.BeginForm()) {
<fieldset>
<legend>Account Information</legend>
- <div class="clearfix">
+ <div class="clearfix">
@Html.LabelFor(m => m.UserName)
<div class="input">
- @Html.TextBoxFor(m => m.UserName, new { @class = "xlarge"})
+ @Html.TextBoxFor(m => m.UserName, new { @type = "text", @placeholder = "UserName", @class = "xlarge"})
@Html.ValidationMessageFor(m => m.UserName)
</div>
</div>
<div class="clearfix">
@Html.LabelFor(m => m.Password)
<div class="input">
- @Html.TextBoxFor(m => m.Password, new { @class = "xlarge"})
+ @Html.PasswordFor(m => m.Password, new { @placeholder = "Password", @class = "xlarge" })
@Html.ValidationMessageFor(m => m.Password)
</div>
</div>

0 comments on commit ff17806

Please sign in to comment.