<commit_before><%--
Content of the model dialog used to update the volunteer's rbc status code.
--%>
<div id="volunteer-rbc-status-code-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="volunteer-rbc-status-code-modal-label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <c:url var="formAction" value="${volunteer.editRbcStatusCodeUri}" />
            <form class="modal-form" id="volunteer-rbc-status-code-modal-form" method="POST" action="${formAction}">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                    <h3 id="volunteer-rbc-status-code-modal-label">Edit Volunteer RBC Status</h3>
                </div>
                <div class="modal-body">
                    <fieldset>
                        <input type="hidden" name="_method" value="PUT" />
                        <label for="rbcStatusSelect">RBC Status</label>
                        <div class="col-md-6">
                            <select id="rbcStatusSelect" class="form-control" name="rbcStatusCode">
                                <c:forEach items="${rbcStatusCodes}" var="rbcStatusCode" varStatus="status">
                                    <option value="${rbcStatusCode.key}">${rbcStatusCode.value}</option>
                                </c:forEach>
                            </select>
                        </div>
                    </fieldset>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
                    <button type="submit" class="btn btn-edifice">Save changes</button>
                </div>
            </form>
        </div>
    </div>
</div><commit_msg>[#64108786] Fixed fail where the rbc status code drop-down menu did not default to the currently set code.<commit_after><%--
Content of the model dialog used to update the volunteer's rbc status code.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div id="volunteer-rbc-status-code-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="volunteer-rbc-status-code-modal-label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <c:url var="formAction" value="${volunteer.editRbcStatusCodeUri}" />
            <form class="modal-form" id="volunteer-rbc-status-code-modal-form" method="POST" action="${formAction}">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                    <h3 id="volunteer-rbc-status-code-modal-label">Edit Volunteer RBC Status</h3>
                </div>
                <div class="modal-body">
                    <fieldset>
                        <input type="hidden" name="_method" value="PUT" />
                        <label for="rbcStatusSelect">RBC Status</label>
                        <div class="col-md-6">
                            <select id="rbcStatusSelect" class="form-control" name="rbcStatusCode">
                                <c:forEach items="${rbcStatusCodes}" var="rbcStatusCode" varStatus="status">
                                    <c:choose>
                                        <c:when test="${volunteer.status eq rbcStatusCode.value}">
                                            <option value="${rbcStatusCode.key}" selected="selected">${rbcStatusCode.value}</option>
                                        </c:when>
                                        <c:otherwise>
                                            <option value="${rbcStatusCode.key}">${rbcStatusCode.value}</option>
                                        </c:otherwise>
                                    </c:choose>
                                </c:forEach>
                            </select>
                        </div>
                    </fieldset>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
                    <button type="submit" class="btn btn-edifice">Save changes</button>
                </div>
            </form>
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.14344449520328917, 'fraction_numerical': 0.003654636820465966, 'mean_word_length': 1.572855464159812, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 86, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '538096', 'n_tokens_mistral': 1164, 'n_tokens_neox': 1111, 'n_words': 211}