<commit_before><!DOCTYPE html>
<html
        xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
        layout:decorator="projects/_base">
<head>
    <title th:text="#{linelist.create-template.title}">Title</title>
</head>
<body>
<main layout:fragment="main" ddl:bundle-includes="project-linelist-template">
    <h2 th:text="#{linelist.create-template.title}">Create a New Line List Template</h2>
    <template-input-component
            data:templateurl="@{/projects/{id}/linelist/metadatafields(id=${project.getId()})}"
            data:saveurl="@{/projects/{id}/linelist/linelist-templates/save-template(id=${project.getId()})}"
            data:redirecturl="@{/projects/{id}/linelist(id=${project.getId()})}"/>
    <script type="text/ng-template" id="templateInput.tmpl.html">
        <form name="fields" novalidate="novalidate">
            <div class="row">
                <div class="col-md-12">
                    <label for="template-name" th:text="#{linelist.create-template.name}">Template Name</label>
                </div>
            </div>
            <div class="row spaced-bottom">
                <div class="form-group col-md-8">
                    <div class="form-group" ng-class="{'has-error': fields.templateName.$invalid}">
                        <input id="template-name"
                               name="templateName"
                               class="form-control"
                               type="text"
                               required="required"
                               minlength="5"
                               ng-model="$ctrl.template.name"/>

                        <div ng-messages="fields.templateName.$error">
                            <p class="label label-danger" ng-message="required"
                               th:text="#{linelist.create-template.templateName.required}">_This is a required
                                field_</p><commit_msg>Checking to see if it is the linelist page that is throwing an error.<commit_after><!DOCTYPE html>
<html
        xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
        layout:decorator="projects/_base">
<head>
    <title th:text="#{linelist.create-template.title}">Title</title>
</head>
<body>
<main layout:fragment="main" ddl:bundle-includes="project-linelist-template">
    <h2 th:text="#{linelist.create-template.title}">Create a New Line List Template</h2>
    <template-input-component
            data:templateurl="@{/projects/{id}/linelist/metadatafields(id=${project.getId()})}"
            data:saveurl="@{/projects/{id}/linelist/linelist-templates/save-template(id=${project.getId()})}"
            data:redirecturl="@{/projects/{id}/samples(id=${project.getId()})}"/>
    <script type="text/ng-template" id="templateInput.tmpl.html">
        <form name="fields" novalidate="novalidate">
            <div class="row">
                <div class="col-md-12">
                    <label for="template-name" th:text="#{linelist.create-template.name}">Template Name</label>
                </div>
            </div>
            <div class="row spaced-bottom">
                <div class="form-group col-md-8">
                    <div class="form-group" ng-class="{'has-error': fields.templateName.$invalid}">
                        <input id="template-name"
                               name="templateName"
                               class="form-control"
                               type="text"
                               required="required"
                               minlength="5"
                               ng-model="$ctrl.template.name"/>

                        <div ng-messages="fields.templateName.$error">
                            <p class="label label-danger" ng-message="required"
                               th:text="#{linelist.create-template.templateName.required}">_This is a required
                                field_</p>
{'fraction_non_alphanumeric': 0.15386578208726717, 'fraction_numerical': 0.0030620056136769582, 'mean_word_length': 1.8844738778513612, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '2562338', 'n_tokens_mistral': 1090, 'n_tokens_neox': 1043, 'n_words': 150}