view Agendas/trunk/src/Agendas.Web/Views/Shared/DefaultEditor.cshtml @ 302:11dddcc9a862 tip

Historico de Eventos, no muestra bien la Url del Patrocinador.
author juanjose.montesdeocaarbos
date Tue, 14 Aug 2012 21:54:30 -0300
parents 5f1e3d35e113
children
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>

<script src="@Url.Content("~/Scripts/subpanels-0.9.js")" type="text/javascript"></script>
<link rel="stylesheet" href="@Url.Content("~/Content/subpanels-0.9.css")" type="text/css" />

@using (Html.BeginForm(
              null,
              null,
              FormMethod.Post,
              (ViewData.ModelMetadata.Properties.Count(p => p.ModelType.Name == "HttpPostedFileBase") > 0 ?
              new { enctype = "multipart/form-data" } :
              null
                )
            )
          )
{
    @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>
}