Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Web/Views/Shared/DefaultEditor.cshtml @ 208:607384590bf8
Mejorando el mensaje de error que se muestra cuando hay un error de validación del lado del servidor
author | nelopauselli |
---|---|
date | Wed, 24 Aug 2011 11:30:06 -0300 |
parents | 97e51ddeeb58 |
children | b9850b647a4e |
line wrap: on
line source
<h2>@Html.GetTitleForModel()</h2> <p> @Html.GetDescriptionForModel() </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> @using (Html.BeginForm()) { @Html.ValidationSummary(true) <div> <fieldset> <legend>@Html.GetLegendForModel()</legend> <div id="content"> @Html.EditorForModel() </div> <div class="buttons"> <input type="submit" value="@LayoutResources.SaveButton" /> @Html.ActionLink(@LayoutResources.CancelButton, "Index") </div> </fieldset> </div> }