<%@ Page Title="Manage Roles" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeFile="Roles.aspx.cs" Inherits="StarterKits.Mvc.Membership.Views.FormsAuthenticationAdministration.Roles" %>

Roles

<% if( ViewData.Count > 0 ){ %> <% foreach( string role in ViewData ){ %>
<% =Html.ActionLink( x=> x.Role(role), role ) %> (<% =Html.ActionLink( x=> x.DeleteRole(role), "Delete" ) %>)
<% } %> <% }else{ %>
No roles have been added to the system yet.
<% } %>
<% using( Html.Form( "FormsAuthenticationAdministration", "CreateRole" ) ){ %>
Add Role
<% =Html.TextBox( "role", 32, 32 ) %>
<% =Html.SubmitButton( "Add Role" ) %>
<% } %>