<commit_before>﻿@model ToTheRescueWebApplication.Models.OptionsModel
@{
    ViewBag.Title = "Options";
    Layout = "~/Views/Shared/_Layout.cshtml";
}



@using (Html.BeginForm())
{
    <h2>Options for @Model.profileName</h2>


    <text>Toggle Sound:</text> @Html.CheckBoxFor(m => m.toggleSound)
    <br />
    <text>Toggle Music:</text> @Html.CheckBoxFor(m => m.toggleMusic)
    <br />
    SelectList readingDifficultyList = new SelectList(new List<Object>{
                           new { Text = "Low Pre-Kindergarden", Value = "1" },
                           new { Text = "High Pre-Kindergarden", Value = "2"  },
                           new { Text = "Low Kindergarden", Value = "3" },
                           new { Text = "High Kindergarden", Value = "4" }
                                                                      },
                                                                                    "value",
                                                                                    "text",
                                                                                     Model.ReadingDifficultyLevel);
    SelectList mathDifficultyList = new SelectList(new List<Object>{
                           new { Text = "Low Pre-Kindergarden", Value = "1" },
                           new { Text = "High Pre-Kindergarden", Value = "2"  },
                           new { Text = "Low Kindergarden", Value = "3" },
                           new { Text = "High Kindergarden", Value = "4" }<commit_msg>fixed issue with profileName coming back null from view<commit_after>﻿@model ToTheRescueWebApplication.Models.OptionsModel
@{
    ViewBag.Title = "Options";
    Layout = "~/Views/Shared/_Layout.cshtml";
}



@using (Html.BeginForm())
{
    <h2>Options for @Model.profileName</h2>

    @Html.TextBoxFor(m => m.profileName, new { style = "display: none;" })
    <text>Toggle Sound:</text> @Html.CheckBoxFor(m => m.toggleSound)
    <br />
    <text>Toggle Music:</text> @Html.CheckBoxFor(m => m.toggleMusic)
    <br />
    SelectList readingDifficultyList = new SelectList(new List<Object>{
                           new { Text = "Low Pre-Kindergarden", Value = "1" },
                           new { Text = "High Pre-Kindergarden", Value = "2"  },
                           new { Text = "Low Kindergarden", Value = "3" },
                           new { Text = "High Kindergarden", Value = "4" }
                                                                      },
                                                                                    "value",
                                                                                    "text",
                                                                                     Model.ReadingDifficultyLevel);
    SelectList mathDifficultyList = new SelectList(new List<Object>{
                           new { Text = "Low Pre-Kindergarden", Value = "1" },
                           new { Text = "High Pre-Kindergarden", Value = "2"  },
                           new { Text = "Low Kindergarden", Value = "3" },
                           new { Text = "High Kindergarden", Value = "4" }
{'fraction_non_alphanumeric': 0.11337939698492462, 'fraction_numerical': 0.00628140703517588, 'mean_word_length': 1.1462264150943395, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 28, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2409213', 'n_tokens_mistral': 770, 'n_tokens_neox': 764, 'n_words': 178}