view Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/Roles.cshtml @ 180:222362c29416

UI para asignación de roles
author nelopauselli
date Mon, 08 Aug 2011 16:42:52 -0300
parents
children
line wrap: on
line source

@model IList<string>
@foreach (var item in Html.GetRoles())
{
	<input type="checkbox" name="Roles" value="@item" @(Model != null && Model.Contains(item) ? "checked" : string.Empty) />@item
}