annotate Agendas/trunk/src/Agendas.Web/Views/Account/LogOn.cshtml @ 13:da95298db862

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