<commit_before><form>
    <div>
        <label>Full Name</label>
        {{validated-input model=this valuePath='fullName' placeholder='Full Name' value=fullName}}
    </div>
    <div>
        <label>Email</label>
        {{validated-input model=this valuePath='username' placeholder='Email' value=email}}
    </div>
    <p class="text-muted"> We will notify the user that they have been added to your preprint. </p>
    <div class="pull-right unregistered-submit">
        <button {{action resetfindContributorsView}} class="btn btn-default btn-small"> Cancel </button>
        {{#if isFormValid}}
            <button {{action (action addUnregisteredContributor fullName email)}} class="btn btn-success btn-small"> Add </button>
        {{else}}
            <button class="btn btn-success btn-small disabled"> Add </button>
        {{/if}}
    </div>
</form><commit_msg>Pressing 'enter' on addUnregisteredContributor submits form.<commit_after><form {{action (action addUnregisteredContributor fullName email) on="submit"}}>
    <div>
        <label>Full Name</label>
        {{validated-input model=this valuePath='fullName' placeholder='Full Name' value=fullName}}
    </div>
    <div>
        <label>Email</label>
        {{validated-input model=this valuePath='username' placeholder='Email' value=email}}
    </div>
    <p class="text-muted"> We will notify the user that they have been added to your preprint. </p>
    <div class="pull-right unregistered-submit">
        <button {{action resetfindContributorsView}} type="button" class="btn btn-default btn-small"> Cancel </button>
        {{#if isFormValid}}
            <button type="submit" {{action (action addUnregisteredContributor fullName email)}} class="btn btn-success btn-small"> Add </button>
        {{else}}
            <button class="btn btn-success btn-small disabled"> Add </button>
        {{/if}}
    </div>
</form>
{'fraction_non_alphanumeric': 0.14489687995769435, 'fraction_numerical': 0.0, 'mean_word_length': 3.3897911832946637, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '5560741', 'n_tokens_mistral': 545, 'n_tokens_neox': 532, 'n_words': 152}