view Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml @ 109:6bd9be78caa0

Merge
author Nelo@Kenia.neluz.int
date Tue, 07 Jun 2011 23:21:07 -0300
parents 2adf55ea9199
children 53bcd338542b
line wrap: on
line source

@model AltNetHispano.Agendas.Web.Models.EventoIndexModel
<h2>Agenda</h2>
<p>
    Los próximos eventos son:
</p>
<table>
    <thead>
        <tr>
            <th>Fecha</th>
            <th>Evento</th>
            <th>Acciones</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model.ProximosEventos)
        {
        <tr>
            <td>@item.Fecha.ToShortDateString()</td>
            <td>@item.Titulo</td>
            <td>
				@Html.ActionLink("Modificar", "Edit", new { id = item.Id })
				@Html.ActionLink("Confirmar", "Confirm", new { id = item.Id })
			</td>
        </tr>
		}
    </tbody>
</table>
    
<p>
@Html.ActionLink("Nuevo", "New")
</p>