<commit_before>﻿@model List<RoomModel>
@{
    ViewData["Title"] = "Admin";
}

<h1>Admin</h1>
<h2>Rooms</h2>
<ul>
        @foreach (var room in Model)
        {
            <li>
                <a asp-controller="Admin" asp-action="Room" asp-route-id="@room.Name">@room.Name</a>
            </li>
        }

</ul>


<form action="./admin/AddRoom">
    <input type="submit" value="New Room" />
</form><commit_msg>Modified form to use tag-helpers<commit_after>﻿@model List<RoomModel>
@{
    ViewData["Title"] = "Admin";
}

<h1>Admin</h1>
<h2>Rooms</h2>
<ul>
        @foreach (var room in Model)
        {
            <li>
                <a asp-controller="Admin" asp-action="Room" asp-route-id="@room.Name">@room.Name</a>
            </li>
        }

</ul>


<!--<form action="./admin/AddRoom">-->
<form asp-controller="Admin" asp-action="AddRoom" method="get">
    <input type="submit" value="New Room" />
</form>
{'fraction_non_alphanumeric': 0.20942982456140352, 'fraction_numerical': 0.008771929824561403, 'mean_word_length': 2.484732824427481, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4873989', 'n_tokens_mistral': 336, 'n_tokens_neox': 330, 'n_words': 59}