view Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml @ 25:e8d2be47a6b0

Cambios de nombre en Portal.Web (Agenda x Evento)
author nelo@MTEySS.neluz.int
date Tue, 15 Mar 2011 08:24:18 -0300
parents
children 475be11edf56
line wrap: on
line source

@model Agendas.Web.Models.EventoIndexModel
@{
    ViewBag.Title = "Agenda";
}

<p>
    Los próximos eventos son:
</p>
<table>
    <thead>
        <tr>
            <th>Evento</th>
            <th>Acciones</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model.ProximosEventos)
        {
        <tr>
            <td>@item.Titulo</td>
            <td>@Html.ActionLink("Modificar", "Edit", new { id = item.Id })</td>
        </tr>
        }
    </tbody>
</table>
    
<p>
@Html.ActionLink("Nuevo", "New")
</p>