<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:calli="http://callimachusproject.org/rdf/2009/framework#">
<head>
    <title>New Digest Manager</title>
</head>
<body>
    <h1>New Digest Manager</h1>
    <div id="sidebar">
        <aside>
            <p>The Auth name is used to salt passwords, changing it requires all users to reset their password</p>
            <p>Only users in the User namespace folder are permitted to authenticate</p>
        </aside>
    </div>
    <form id="form" method="POST" action="" enctype="application/rdf+xml" typeof="calli:DigestManager calli:AuthenticationManager"
            onsubmit="return calli.saveResourceAs(event,calli.slugify($('#label').val()))">
        <fieldset>
            <div class="control-group">
                <label for="label" class="control-label">Label</label>
                <div class="controls">
                    <input type="text" id="label" class="auto-expand" value="{rdfs:label}" autofocus="autofocus" />
                </div>
            </div>
            <div class="control-group">
                <label for="name" class="control-label">Auth name</label>
                <div class="controls">
                    <input type="text" id="name" class="auto-expand" value="{calli:authName}" />
                </div>
            </div>
            <div id="authNamespace" dropzone="link s:text/uri-list" class="control-group"
                    ondrop="return calli.insertResource(event)">
                <label for="authNamespace" class="control-label">User folder</label>
                <div rel="calli:authNamespace" class="controls">
                    <span resource="?authNamespace" typeof="calli:Folder" class="ui-state-highlight ui-corner-all">
                        <span property="rdfs:label" />
                        <a href="{?authNamespace}" title="Don't use users in this folder" onclick="return calli.removeResource(event)" class="ui-icon ui-icon-close" />
                    </span>
                </div>
            </div>
            <div class="control-group">
                <label for="comment" class="control-label">Comment</label>
                <div class="controls">
                    <textarea id="comment" class="auto-expand">{rdfs:comment}</textarea>
                </div>
            </div>
            <div class="form-actions">
                <button id="save" type="submit" class="btn btn-primary">Save</button>
                <button id="cancel" type="button" onclick="window.location.replace('?view')" class="btn">Cancel</button>
                <button id="delete" type="button" onclick="calli.deleteResource(event)" class="btn btn-danger">Delete</button>
            </div>
        </fieldset>
    </form>
</body>
</html><commit_msg>Remove broken buttons in digest manager create form<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:calli="http://callimachusproject.org/rdf/2009/framework#">
<head>
    <title>New Digest Manager</title>
</head>
<body>
    <h1>New Digest Manager</h1>
    <div id="sidebar">
        <aside>
            <p>The Auth name is used to salt passwords, changing it requires all users to reset their password</p>
            <p>Only users in the User namespace folder are permitted to authenticate</p>
        </aside>
    </div>
    <form id="form" method="POST" action="" enctype="application/rdf+xml" typeof="calli:DigestManager calli:AuthenticationManager"
            onsubmit="return calli.saveResourceAs(event,calli.slugify($('#label').val()))">
        <fieldset>
            <div class="control-group">
                <label for="label" class="control-label">Label</label>
                <div class="controls">
                    <input type="text" id="label" class="auto-expand" value="{rdfs:label}" autofocus="autofocus" />
                </div>
            </div>
            <div class="control-group">
                <label for="name" class="control-label">Auth name</label>
                <div class="controls">
                    <input type="text" id="name" class="auto-expand" value="{calli:authName}" />
                </div>
            </div>
            <div id="authNamespace" dropzone="link s:text/uri-list" class="control-group"
                    ondrop="return calli.insertResource(event)">
                <label for="authNamespace" class="control-label">User folder</label>
                <div rel="calli:authNamespace" class="controls">
                    <span resource="?authNamespace" typeof="calli:Folder" class="ui-state-highlight ui-corner-all">
                        <span property="rdfs:label" />
                        <a href="{?authNamespace}" title="Don't use users in this folder" onclick="return calli.removeResource(event)" class="ui-icon ui-icon-close" />
                    </span>
                </div>
            </div>
            <div class="control-group">
                <label for="comment" class="control-label">Comment</label>
                <div class="controls">
                    <textarea id="comment" class="auto-expand">{rdfs:comment}</textarea>
                </div>
            </div>
            <div class="form-actions">
                <button type="submit" class="btn">Add</button>
            </div>
        </fieldset>
    </form>
</body>
</html>
{'fraction_non_alphanumeric': 0.16147012715554782, 'fraction_numerical': 0.012192997735586134, 'mean_word_length': 2.251415628539071, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 2, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 14}, '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': '4807063', 'n_tokens_mistral': 1742, 'n_tokens_neox': 1628, 'n_words': 317}