@{
    ViewBag.Title = "Nová role";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@Html.ActionLink("Role", "RoleIndex") | @Html.ActionLink("Přidat roli uživateli", "RoleAddToUser")
<h2>Nová role</h2>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <div>
        Název role
    </div>
    <p>
        @Html.TextBox("RoleName")
    </p>
    <input type="submit" value="Uložit" />
}
