Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Web/Views/Evento/Modificar.cshtml @ 150:19bab30521da
Pasando DateTime a un EditorTemplates
author | Nelo@Guinea.neluz.int |
---|---|
date | Tue, 02 Aug 2011 23:24:19 -0300 |
parents | e6e6bfb1da9e |
children | dfb4468d8044 |
line wrap: on
line source
@model AltNetHispano.Agendas.Web.Models.EventoEditModel <h2>Agenda</h2> <p> Modifique los datos que desea corregir y presione guardar </p> <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $("#Fecha").datepicker({ dateFormat: 'dd-mm-yy' }); }); </script> @using (Html.BeginForm()) { @Html.ValidationSummary(true, "Los datos ingresados no son validos, por favor verifíquelos") <div> <fieldset> <legend>Datos del evento:</legend> @Html.EditorForModel() <p> <input type="submit" value="Guardar" /> @Html.ActionLink("Cancelar", "Index") </p> </fieldset> </div> }