view Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml @ 89:24e9488ac152

mapeo de property UrlInvitacion entre viewmodel y entity
author jorge.rowies
date Tue, 31 May 2011 16:31:24 -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>