Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
<table>
<thead>
<tr>
<th>Category Name</th>
<th>Enabled?</th>
<th>&nbsp;</th>
</tr>
</thead>
@for (int i = 0; i < Model.Categories.Count; i++)
{
<tr class="category">
<td>@Model.Categories[i].Name</td>
<td class="@(Model.Categories[i].Enabled ? "enabled" : "disabled")">@(Model.Categories[i].Enabled ? "yes" : "no")</td>
<td><a href="@Url.Action("CategoriesEdit", "Admin")"></a></td>
</tr>
}
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.