Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Views/Evento/New.cshtml @ 25:e8d2be47a6b0
Cambios de nombre en Portal.Web (Agenda x Evento)
author | nelo@MTEySS.neluz.int |
---|---|
date | Tue, 15 Mar 2011 08:24:18 -0300 |
parents | |
children | 475be11edf56 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web/Views/Evento/New.cshtml Tue Mar 15 08:24:18 2011 -0300 @@ -0,0 +1,34 @@ +@model Agendas.Web.Models.EventoNewModel +@{ + ViewBag.Title = "Agenda"; +} + +<p> + Complete los siguiente datos para agendar un nuevo evento +</p> + +<link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" /> +<script src="@Url.Content("~/Scripts/jquery-ui.js")" type="text/javascript"></script> + +<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" /> + </p> + </fieldset> + </div> +} \ No newline at end of file