comparison Agendas/trunk/src/Agendas.Web/Views/Agenda/Index.cshtml @ 10:c62b77fc33f4

website inicial
author nelo@MTEySS.neluz.int
date Sun, 13 Mar 2011 18:51:06 -0300
parents
children
comparison
equal deleted inserted replaced
9:c90492faf268 10:c62b77fc33f4
1 @model Agendas.Web.Models.AgendaIndexModel
2 @{
3 ViewBag.Title = "Agenda";
4 }
5
6 <p>
7 Los próximos eventos son:
8 </p>
9 <table>
10 <thead>
11 <tr>
12 <th>Evento</th>
13 <th>Acciones</th>
14 </tr>
15 </thead>
16 <tbody>
17 @foreach (var item in Model.ProximosEventos)
18 {
19 <tr>
20 <td>@item.Titulo</td>
21 <td>@Html.ActionLink("Modificar", "Edit", new { id = item.Id })</td>
22 </tr>
23 }
24 </tbody>
25 </table>
26
27 <p>
28 @Html.ActionLink("Nuevo", "New")
29 </p>