annotate 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
rev   line source
180
222362c29416 UI para asignación de roles
nelopauselli
parents:
diff changeset
1 @model IList<string>
222362c29416 UI para asignación de roles
nelopauselli
parents:
diff changeset
2 @foreach (var item in Html.GetRoles())
222362c29416 UI para asignación de roles
nelopauselli
parents:
diff changeset
3 {
222362c29416 UI para asignación de roles
nelopauselli
parents:
diff changeset
4 <input type="checkbox" name="Roles" value="@item" @(Model != null && Model.Contains(item) ? "checked" : string.Empty) />@item
222362c29416 UI para asignación de roles
nelopauselli
parents:
diff changeset
5 }
222362c29416 UI para asignación de roles
nelopauselli
parents:
diff changeset
6