Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Views/Persona/Index.cshtml @ 144:a2b14da4902f
Alta y modificación de ponentes (personas)
author | Nelo@Guinea.neluz.int |
---|---|
date | Mon, 01 Aug 2011 10:25:23 -0300 |
parents | |
children | 97e51ddeeb58 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web/Views/Persona/Index.cshtml Mon Aug 01 10:25:23 2011 -0300 @@ -0,0 +1,31 @@ +@model AltNetHispano.Agendas.Web.Models.PersonaIndexModel +<h2>Personas</h2> +<p> + Las personas registradas en la aplicación son: +</p> +<table> + <thead> + <tr> + <th>Nombre</th> + <th>Acciones</th> + </tr> + </thead> + <tbody> + @foreach (var item in Model.Items) + { + <tr> + <td>@item.Nombre</td> + <td> + @Html.ActionLink("Modificar", "Modificar", null, new { id = item.Id }, null) + <span> </span> + @Html.ActionLink("Quitar", "Quitar", null, new { id = item.Id }, null) + <span> </span> + </td> + </tr> + } + </tbody> +</table> + +<p> +@Html.ActionLink("Nueva", "Nueva") +</p>