/Source/Samples/Blog/Bifrost.Samples.Blog.Mvc/Features/Users/LogOn.cshtml
Razor | 31 lines | 26 code | 5 blank | 0 comment | 0 complexity | 6f9aa0a4673cd6ef36c2dff2ce193dbe MD5 | raw file
Possible License(s): CC-BY-SA-3.0
- @{
- ViewBag.Title = "Login";
- }
-
- @using( Html.BeginForm("Login","Users", null, FormMethod.Post) )
- {
- @Html.Hidden("redirectUrl",ViewContext.RequestContext.HttpContext.Request["ReturnUrl"])
-
- <table>
- <tr>
- <td>
- Username
- </td>
- <td>
-
- @Html.TextBox("userName", null, null)
- </td>
- </tr>
- <tr>
- <td>
- Password
- </td>
- <td>
- @Html.TextBox("password", null, null)
- </td>
-
- </tr>
- </table>
-
- <input type="submit" value="Login" />
- }