<commit_before>﻿@model MileageStats.Web.Models.FillupEntryFormModel
@Html.AntiForgeryToken()
<ul>
    <li class="psuedo-date">
        <label for="due-date">Date <em>(mm/dd/yyyy)</em></label>
        @Html.MonthPickerFor(model => model.DateMonth, Model.Date, true)
        @Html.DayPickerFor(model => model.DateDay, Model.Date, true)
        @Html.YearPickerFor(model => model.DateYear, Model.Date, true)
        @Html.ValidationMessageFor(model => model.Date)
    </li>
    <li>
        @Html.LabelFor(model => model.Odometer)
        @Html.InputTypeFor(model => model.Odometer, (Model.Odometer > 0) ? Model.Odometer.ToString() : null)
        @Html.ValidationMessageFor(model => model.Odometer)
    </li>
    <li>
        @Html.LabelFor(model => model.PricePerUnit)
        @Html.InputTypeFor(model => model.PricePerUnit)
        @Html.ValidationMessageFor(model => model.PricePerUnit)
    </li>
    <li>
        @Html.LabelFor(model => model.TotalUnits)
        @Html.InputTypeFor(model => model.TotalUnits)
        @Html.ValidationMessageFor(model => model.TotalUnits)
    </li>
    <li>
        @Html.LabelFor(model => model.Vendor)
        @Html.TextBoxFor(model => model.Vendor, new { maxlength = "20" }) 
		@Html.ValidationMessageFor(model => model.Vendor)
    </li>
    <li>
        @Html.LabelFor(model => model.TransactionFee)
        @Html.InputTypeFor(model => model.TransactionFee)
        @Html.ValidationMessageFor(model => model.TransactionFee)
    </li>
    <li>
        @Html.LabelFor(model => model.Remarks)
        @Html.TextAreaFor(model => model.Remarks, new { maxlength = "250", wrap="soft" }) 
		@Html.ValidationMessageFor(model => model.Remarks)
    </li>
</ul>
@if (ViewBag.IsFirstFillup)
{ 
    <div class="flash notify">
        <p>
            This is your first fill up. This odometer reading will establish your mileage starting
            point. Vehicle statistics will be displayed beginning on your next fill up.</p>
    </div>
}

@Html.ValidationSummary(true)<commit_msg>#244. Updated markup to show placeholders on fillup form<commit_after>﻿@model MileageStats.Web.Models.FillupEntryFormModel
@Html.AntiForgeryToken()
<ul>
    <li class="psuedo-date">
        <label for="due-date">Date <em>(mm/dd/yyyy)</em></label>
        @Html.MonthPickerFor(model => model.DateMonth, Model.Date, true)
        @Html.DayPickerFor(model => model.DateDay, Model.Date, true)
        @Html.YearPickerFor(model => model.DateYear, Model.Date, true)
        @Html.ValidationMessageFor(model => model.Date)
    </li>
    <li>
        @Html.LabelFor(model => model.Odometer)
        @Html.FixedValueTextBoxFor(model => model.Odometer, (Model.Odometer > 0) ? Model.Odometer.ToString() : null, new { maxlength = "7", type = "text", required = "required" })
        @Html.ValidationMessageFor(model => model.Odometer)
    </li>
    <li>
        @Html.LabelFor(model => model.PricePerUnit)
        @Html.FixedValueTextBoxFor(model => model.PricePerUnit, new { maxlength = "6", type = "text", step = "0.01", placeholder = "ex. 3.75", required = "required" })
        @Html.ValidationMessageFor(model => model.PricePerUnit)
    </li>
    <li>
        @Html.LabelFor(model => model.TotalUnits)
        @Html.FixedValueTextBoxFor(model => model.TotalUnits, new { maxlength = "7", type = "text", step = "0.01", placeholder = "ex. 10.123", required = "required" })
        @Html.ValidationMessageFor(model => model.TotalUnits)
    </li>
    <li>
        @Html.LabelFor(model => model.Vendor)
        @Html.TextBoxFor(model => model.Vendor, new { maxlength = "20" }) 
		@Html.ValidationMessageFor(model => model.Vendor)
    </li>
    <li>
        @Html.LabelFor(model => model.TransactionFee)
        @Html.FixedValueTextBoxFor(model => model.TransactionFee, new { maxlength = "6", type = "text", step = "0.01", placeholder = "ex. 0.45" })
        @Html.ValidationMessageFor(model => model.TransactionFee)
    </li>
    <li>
        @Html.LabelFor(model => model.Remarks)
        @Html.TextAreaFor(model => model.Remarks, new { maxlength = "250", wrap="soft" }) 
		@Html.ValidationMessageFor(model => model.Remarks)
    </li>
</ul>
@if (ViewBag.IsFirstFillup)
{ 
    <div class="flash notify">
        <p>
            This is your first fill up. This odometer reading will establish your mileage starting
            point. Vehicle statistics will be displayed beginning on your next fill up.</p>
    </div>
}

@Html.ValidationSummary(true)
{'fraction_non_alphanumeric': 0.1500562429696288, 'fraction_numerical': 0.008773903262092238, 'mean_word_length': 3.1204819277108435, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 97, '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': '6811697', 'n_tokens_mistral': 1454, 'n_tokens_neox': 1418, 'n_words': 284}