annotate Agendas/trunk/src/Agendas.Web/Views/Agenda/Edit.cshtml @ 14:ed6d842abf42

Modificar evento
author nelo@MTEySS.neluz.int
date Sun, 13 Mar 2011 20:49:15 -0300
parents
children
rev   line source
14
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
1 @model Agendas.Web.Models.AgendaEditModel
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
2 @{
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
3 ViewBag.Title = "Agenda";
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
4 }
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
5
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
6 <p>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
7 Modifique los datos que desea corregir y presione guardar
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
8 </p>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
9
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
10 <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
11 <script src="@Url.Content("~/Scripts/jquery-ui.js")" type="text/javascript"></script>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
12
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
13 <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
14 <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
15
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
16 <script type="text/javascript">
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
17 $(document).ready(function () {
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
18 $("#Fecha").datepicker({ dateFormat: 'dd-mm-yy' });
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
19 });
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
20 </script>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
21
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
22 @using (Html.BeginForm())
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
23 {
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
24 @Html.ValidationSummary(true, "Los datos ingresados no son validos, por favor verifíquelos")
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
25 <div>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
26 <fieldset>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
27 <legend>Datos del evento:</legend>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
28 @Html.EditorForModel()
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
29 <p>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
30 <input type="submit" value="Guardar" />
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
31 </p>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
32 </fieldset>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
33 </div>
ed6d842abf42 Modificar evento
nelo@MTEySS.neluz.int
parents:
diff changeset
34 }