view Agendas/trunk/src/Agendas.Web/Views/Persona/Index.cshtml @ 234:cc71f96ac134

Combinar
author juanjose.montesdeocaarbos
date Tue, 04 Oct 2011 20:36:27 -0300
parents 97e51ddeeb58
children
line wrap: on
line source

@model AltNetHispano.Agendas.Web.Models.PersonaIndexModel
<h2>Personas</h2>
<p>
    Las personas registradas en la aplicación son:
</p>
<div id="content">
	<table>
		<thead>
			<tr>
				<th>Nombre</th>
				<th>Acciones</th>
			</tr>
		</thead>
		<tbody>
			@foreach (var item in Model.Items)
			{
				<tr>
					<td>@item.Nombre</td>
					<td class="buttons">
							@Html.ActionLink("Modificar", "Modificar", null, new { id = item.Id }, null)
							<span>&nbsp;</span>
							@Html.ActionLink("Quitar", "Quitar", null, new { id = item.Id }, null)
							<span>&nbsp;</span>
					</td>
				</tr>
			}
		</tbody>
	</table>
</div>    
<div class="buttons">
	@Html.ActionLink("Nueva", "Nueva")
</div>