view Agendas/trunk/src/Agendas.Web/Views/Evento/New.cshtml @ 89:24e9488ac152

mapeo de property UrlInvitacion entre viewmodel y entity
author jorge.rowies
date Tue, 31 May 2011 16:31:24 -0300
parents 08dbe42fdde1
children 80c22175c9b5
line wrap: on
line source

@model AltNetHispano.Agendas.Web.Models.EventoNewModel
<h2>Agenda</h2>
<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>
}