annotate Agendas/trunk/src/Agendas.Web/Views/Account/LogOn.cshtml @ 135:80156ae1493f

Se agrega la eliminación de un evento cuando la acción sea Cancelar. Además se arregla la descripción de los eventos Alt.Net Café y Grupo de estudio debido a que los test se encontraban fallidos.
author alabra
date Sun, 17 Jul 2011 14:13:30 -0400
parents 9dfbe4e29c6a
children 62dc9fb3a03e
rev   line source
34
475be11edf56 Ajuste en los nombre de los assemblies y namespaces
nelo@MTEySS.neluz.int
parents: 10
diff changeset
1 @model AltNetHispano.Agendas.Web.Models.LogOnModel
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
2 <h2>Log On</h2>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
3 <p>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
4 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
5 </p>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
6
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
7 <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
8 <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
9
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
10 @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
11
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
12 @using (Html.BeginForm()) {
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
13 <div>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
14 <fieldset>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
15 <legend>Account Information</legend>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
16
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
17 <div class="editor-label">
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
18 @Html.LabelFor(m => m.UserName)
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
19 </div>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
20 <div class="editor-field">
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
21 @Html.TextBoxFor(m => m.UserName)
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
22 @Html.ValidationMessageFor(m => m.UserName)
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
23 </div>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
24
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
25 <div class="editor-label">
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
26 @Html.LabelFor(m => m.Password)
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
27 </div>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
28 <div class="editor-field">
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
29 @Html.PasswordFor(m => m.Password)
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
30 @Html.ValidationMessageFor(m => m.Password)
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
31 </div>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
32
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
33 <div class="editor-label">
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
34 @Html.CheckBoxFor(m => m.RememberMe)
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
35 @Html.LabelFor(m => m.RememberMe)
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 <p>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
39 <input type="submit" value="Log On" />
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
40 </p>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
41 </fieldset>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
42 </div>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
43 }
91
9dfbe4e29c6a Imagen del boton de sign-in con twitter
Nelo@Kenia.neluz.int
parents: 90
diff changeset
44 <a href="@Url.Action("TwitterLogOn")"><img src="@Url.Content("~/Content/twitter/sign-in-with-twitter-d.png")" alt="Sign in with twitter" /></a>