Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Views/Patrocinador/Index.cshtml @ 275:bf993f99cee3
Ticket #123: Patrocinadores de las vans.
author | juanjose.montesdeocaarbos |
---|---|
date | Wed, 14 Dec 2011 08:15:44 -0300 |
parents | |
children | 1e889a2e45c5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web/Views/Patrocinador/Index.cshtml Wed Dec 14 08:15:44 2011 -0300 @@ -0,0 +1,34 @@ +@model AltNetHispano.Agendas.Web.Models.PatrocinadorIndexModel +<h2>Agenda</h2> +<p> + Los Patrocinadores son: +</p> +<div id="content"> + <table> + <thead> + <tr> + <th></th> + <th>Patrocinador</th> + <th>Acciones</th> + </tr> + </thead> + <tbody> + @foreach (var item in Model.Items) + { + <tr> + <td><img src="/Patrocinador/GetLogo?id=@item.Id" /></td> + <td>@item.Nombre</td> + <td> + @Html.ActionLink("Modificar", "Modificar", new { id = item.Id }) + <span> </span> + @Html.ActionLink("Eliminar", "Eliminar", new { id = item.Id }, new { @class = "ui-button-confirm" }) + <span> </span> + </td> + </tr> + } + </tbody> + </table> +</div> +<div class="buttons"> + @Html.ActionLink("Nuevo", "Nuevo") +</div>