view Agendas/trunk/src/Agendas.Web/Views/Patrocinador/Index.cshtml @ 297:50b462e06ecc

Armando Url de la imagen del patrocinador
author nelopauselli
date Sat, 18 Feb 2012 15:27:26 -0300
parents 1e889a2e45c5
children 48ab8788bd19
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="@Url.Action("GetLogo", new { 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>