<commit_before>
<!-- close button -->
<div th:fragment="close-button">
	<button class="js-close close" aria-label="Close Popup">X</button>
</div>

<!-- overlay --> 

<div th:fragment="modal-overlay">
	<div class="modal-overlay js-close hidden"></div>
</div>

<!-- confirm submit modal --> 

<div th:fragment="modal-confirm-submit">
    <div class="modal-confirm-submit" role="dialog" aria-hidden="true">
        <div th:include="fragments/modals :: close-button" th:remove="tag" />
        <p>This is your final chance to make changes to the application. You will not be able to access the application after this point. Are you sure you want to submit?</p>
        <div>        
            <a role="button" tabindex="0" class="button" th:href="@{/application/{id}/submit(id=${currentApplication.getId()})}">Yes, I want to submit my application</a>
            <button class="js-close buttonlink">Cancel</button>
        </div>
    </div>
</div>

 <!--assessment invitation rejection window -->
<div th:fragment="modal-reject-assessment">
    <div class="modal-reject-assessment" role="dialog" aria-hidden="true">
        <div th:include="fragments/modals :: close-button" th:remove="tag" />

        <div>


                <form  method="post" action="/assessor/invitation_answer" >
                    <input type="hidden" name="applicationId" th:value="${assessment.application.id}"/>
                    <input type="hidden" name="competitionId" th:value="${assessment.application.competition.id}"/>

                    <div class="form-group">
                   
                        <label for="reject-reason" class="form-label">Please let us know why you are rejecting this application</label>

                        <select name="decisionReason" id="reject-reason" required="required" class="form-control">
                            <option value="none">Please select one reason</option>
                            <option value="conflict-of-interest">Conflict of interest</option>
                            <option value="not-my-area-of-interest">Not my area of expertise</option>
                            <option value="too-many-assessments">Too many assessments</option>
                        </select>

                    </div>

                    <div class="form-group">
                        <label for="rejection-observations" class="form-label">Please provide some more information</label>
                        <textarea id="rejection-observations" name="observations" class="form-control"></textarea>
                    </div>

                </form>

            <!--<a role="button" tabindex="0" class="button" th:href="@{/application/{id}/submit(id=${currentApplication.getId()})}">Yes, I want to submit my application</a>-->
        </div>
    </div>
</div>
<commit_msg>Put the Reject button back to the reject modal.<commit_after>
<!-- close button -->
<div th:fragment="close-button">
	<button class="js-close close" aria-label="Close Popup">X</button>
</div>

<!-- overlay --> 

<div th:fragment="modal-overlay">
	<div class="modal-overlay js-close hidden"></div>
</div>

<!-- confirm submit modal --> 

<div th:fragment="modal-confirm-submit">
    <div class="modal-confirm-submit" role="dialog" aria-hidden="true">
        <div th:include="fragments/modals :: close-button" th:remove="tag" />
        <p>This is your final chance to make changes to the application. You will not be able to access the application after this point. Are you sure you want to submit?</p>
        <div>        
            <a role="button" tabindex="0" class="button" th:href="@{/application/{id}/submit(id=${currentApplication.getId()})}">Yes, I want to submit my application</a>
            <button class="js-close buttonlink">Cancel</button>
        </div>
    </div>
</div>

 <!--assessment invitation rejection window -->
<div th:fragment="modal-reject-assessment">
    <div class="modal-reject-assessment" role="dialog" aria-hidden="true">
        <div th:include="fragments/modals :: close-button" th:remove="tag" />

        <div>


                <form  method="post" action="/assessor/invitation_answer" >
                    <input type="hidden" name="applicationId" th:value="${assessment.application.id}"/>
                    <input type="hidden" name="competitionId" th:value="${assessment.application.competition.id}"/>

                    <div class="form-group">
                   
                        <label for="reject-reason" class="form-label">Please let us know why you are rejecting this application</label>

                        <select name="decisionReason" id="reject-reason" required="required" class="form-control">
                            <option value="none">Please select one reason</option>
                            <option value="conflict-of-interest">Conflict of interest</option>
                            <option value="not-my-area-of-interest">Not my area of expertise</option>
                            <option value="too-many-assessments">Too many assessments</option>
                        </select>

                    </div>

                    <div class="form-group">
                        <label for="rejection-observations" class="form-label">Please provide some more information</label>
                        <textarea id="rejection-observations" name="observations" class="form-control"></textarea>
                    </div>

                    <button class="button button-warning large" name="reject" value="rejected" type="submit">Reject</button>

                </form>

            <!--<a role="button" tabindex="0" class="button" th:href="@{/application/{id}/submit(id=${currentApplication.getId()})}">Yes, I want to submit my application</a>-->
        </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.1532758620689655, 'fraction_numerical': 0.000689655172413793, 'mean_word_length': 2.404342723004695, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 123, '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': '6272263', 'n_tokens_mistral': 1564, 'n_tokens_neox': 1497, 'n_words': 365}