<commit_before>{{fa-icon icon="cloud-upload" size=5}}
<h1 class="f-w-xl">Contribute your research</h1>
<h3 class="f-w-md" style="margin-left:auto; margin-right:auto; width:800px;">You can upload a preprint or choose a file from an existing OSF file to tag as a preprint if you are already have an OSF account.</h3>

<button class="btn btn-success btn-lg" data-toggle="modal" data-target="#uploadModal">
    Add a preprint
</button>


<!-- Modal -->
<div class="modal fade" id="uploadModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">Contribute your research</h4>
            </div>
            <div class="modal-body">
                {{file-chooser}}
            </div><commit_msg>Make upload button link to preprints page<commit_after>{{fa-icon icon="cloud-upload" size=5}}
<h1 class="f-w-xl">Contribute your research</h1>
<h3 class="f-w-md" style="margin-left:auto; margin-right:auto; width:800px;">You can upload a preprint or choose a file from an existing OSF file to tag as a preprint if you are already have an OSF account.</h3>

<!--<button class="btn btn-success btn-lg" data-toggle="modal" data-target="#uploadModal">-->
    <!--Add a preprint-->
<!--</button>-->

{{#link-to "preprints" class="btn btn-success btn-lg"}}Add a preprint{{/link-to}}


<!-- Modal -->
<div class="modal fade" id="uploadModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">Contribute your research</h4>
            </div>
            <div class="modal-body">
                {{file-chooser}}
            </div>
{'fraction_non_alphanumeric': 0.17117117117117117, 'fraction_numerical': 0.00990990990990991, 'mean_word_length': 3.0977859778597785, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 46, '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': '1202993', 'n_tokens_mistral': 681, 'n_tokens_neox': 658, 'n_words': 170}