Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Web/Views/Shared/DefaultEditor.cshtml @ 155:23aaf98b8377
Generalizando editores en EditorDefault basando los textos en recursos
author | Nelo@Guinea.neluz.int |
---|---|
date | Wed, 03 Aug 2011 09:38:23 -0300 |
parents | |
children | 97e51ddeeb58 |
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, @LayoutResources.ValidationSummaryDefault) <div> <fieldset> <legend>@Html.GetLegendForModel()</legend> @Html.EditorForModel() <p> <input type="submit" value="@LayoutResources.SaveButton" /> @Html.ActionLink(@LayoutResources.CancelButton, "Index") </p> </fieldset> </div> }