view Agendas/trunk/src/Agendas.Web/Views/Patrocinador/Index.cshtml @ 279:1e889a2e45c5

#125: ABM de patrocinadores.
author juanjose.montesdeocaarbos
date Thu, 22 Dec 2011 10:04:08 -0300
parents bf993f99cee3
children 50b462e06ecc
line wrap: on
line source

@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 class="buttons">
                    @Html.ActionLink("Modificar", "Modificar", new { id = item.Id })
					<span>&nbsp;</span>
					@Html.ActionLink("Eliminar", "Eliminar", new { id = item.Id }, new { @class = "ui-button-confirm" })
					<span>&nbsp;</span>
                </td>
            </tr>
        }
        </tbody>
    </table>
</div>
<div class="buttons">
	@Html.ActionLink("Nuevo", "Nuevo")
</div>