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