Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Web/Views/Account/LogOn.cshtml @ 10:c62b77fc33f4
website inicial
author | nelo@MTEySS.neluz.int |
---|---|
date | Sun, 13 Mar 2011 18:51:06 -0300 |
parents | |
children | 475be11edf56 |
comparison
equal
deleted
inserted
replaced
9:c90492faf268 | 10:c62b77fc33f4 |
---|---|
1 @model Agendas.Web.Models.LogOnModel | |
2 | |
3 @{ | |
4 ViewBag.Title = "Log On"; | |
5 } | |
6 | |
7 <h2>Log On</h2> | |
8 <p> | |
9 Please enter your username and password. @Html.ActionLink("Register", "Register") if you don't have an account. | |
10 </p> | |
11 | |
12 <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> | |
13 <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> | |
14 | |
15 @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") | |
16 | |
17 @using (Html.BeginForm()) { | |
18 <div> | |
19 <fieldset> | |
20 <legend>Account Information</legend> | |
21 | |
22 <div class="editor-label"> | |
23 @Html.LabelFor(m => m.UserName) | |
24 </div> | |
25 <div class="editor-field"> | |
26 @Html.TextBoxFor(m => m.UserName) | |
27 @Html.ValidationMessageFor(m => m.UserName) | |
28 </div> | |
29 | |
30 <div class="editor-label"> | |
31 @Html.LabelFor(m => m.Password) | |
32 </div> | |
33 <div class="editor-field"> | |
34 @Html.PasswordFor(m => m.Password) | |
35 @Html.ValidationMessageFor(m => m.Password) | |
36 </div> | |
37 | |
38 <div class="editor-label"> | |
39 @Html.CheckBoxFor(m => m.RememberMe) | |
40 @Html.LabelFor(m => m.RememberMe) | |
41 </div> | |
42 | |
43 <p> | |
44 <input type="submit" value="Log On" /> | |
45 </p> | |
46 </fieldset> | |
47 </div> | |
48 } |