<commit_before><div id='{{box_id}}' class='modal fade' data-width="760">
  <div class="modal-dialog">
    <div class="modal-content">
        <div class='modal-header'>
            <button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button>
            <h4 class='modal-title'>{% if box_title %}{{ translate(box_title) }}{% endif %}</h4>
        </div>
        <div class='modal-body'>
            <form name="ModalFormGenerator" method="{{ (form_method) ? form_method : 'post' }}" action="{{form_action}}">
    		    {% include "components/csrf.html.twig" %}
    		    <div id="form-alerts">
    		    </div>
    		    <div class="row">
    		    	<div class="col-sm-8">
    				    {% include 'FormGenerator/FormGenerator.html.twig' %}
    		    	</div>
    		    </div><br>
    		    <div class="row">
    		        {% if "submit" not in buttons.hidden %}
    		        <div class="col-xs-8 col-sm-4">
    		            <div class="vert-pad">
    		                <button type="submit" class="btn btn-block btn-lg btn-success js-submit">
    		                    {% if submit_button %}{{ translate(submit_button) }}{% else %}{{translate("SUBMIT")}}{% endif %}
    		                </button>
    		            </div>
    		        </div>
    		        {% endif %}
    		        {% if "cancel" not in buttons.hidden %}
    		        <div class="col-xs-4 col-sm-3 pull-right">
    		            <div class="vert-pad">
    		                <button type="button" class="btn btn-block btn-lg btn-link" data-dismiss="modal">{{translate("CANCEL")}}</button>
    		            </div>
    		        </div>
    		        {% endif %}
    		    </div>
    		</form>
    		<script>
    		// Load the validator rules for this form
    		var validators = {{validators | raw}};
    		</script>
        </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

{% block scripts_page %}
    <!-- Need to reload and reaply those since we're in modal -->
    <script>
        $(function() {
            $('#{{box_id}}').iCheck({
              checkboxClass: 'icheckbox_square-blue',
              radioClass: 'iradio_square-blue',
              increaseArea: '20%' // optional
            });
            $('select').select2({ minimumResultsForSearch: Infinity });
        });
    </script>
{% endblock %}<commit_msg>Fix misc layout issues<commit_after><div id='{{box_id}}' class='modal fade' data-width="760">
  <div class="modal-dialog">
    <div class="modal-content">
        <div class='modal-header'>
            <button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button>
            <h4 class='modal-title'>{% if box_title %}{{ translate(box_title) }}{% endif %}</h4>
        </div>
        <div class='modal-body'>
            <form name="ModalFormGenerator" method="{{ (form_method) ? form_method : 'post' }}" action="{{form_action}}">
    		    {% include "components/csrf.html.twig" %}
    		    <div id="form-alerts">
    		    </div>
    		    <div class="row">
    		    	<div class="col-sm-12">
    				    {% include 'FormGenerator/FormGenerator.html.twig' %}
    		    	</div>
    		    </div><br>
    		    <div class="row">
    		        {% if "submit" not in buttons.hidden %}
    		        <div class="col-xs-8 col-sm-4">
    		            <div class="vert-pad">
    		                <button type="submit" class="btn btn-block btn-lg btn-success js-submit">
    		                    {% if submit_button %}{{ translate(submit_button) }}{% else %}{{translate("SUBMIT")}}{% endif %}
    		                </button>
    		            </div>
    		        </div>
    		        {% endif %}
    		        {% if "cancel" not in buttons.hidden %}
    		        <div class="col-xs-4 col-sm-3 pull-right">
    		            <div class="vert-pad">
    		                <button type="button" class="btn btn-block btn-lg btn-link" data-dismiss="modal">{{translate("CANCEL")}}</button>
    		            </div>
    		        </div>
    		        {% endif %}
    		    </div>
    		</form>
    		<script>
    		// Load the validator rules for this form
    		var validators = {{validators | raw}};
    		</script>
        </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

{% block scripts_page %}
    <!-- Need to reload and reaply those since we're in modal -->
    <script>
        $(function() {
            $('#{{box_id}}').iCheck({
              checkboxClass: 'icheckbox_square-blue',
              radioClass: 'iradio_square-blue',
              increaseArea: '20%' // optional
            });
            $('select').select2({ minimumResultsForSearch: Infinity, width: '100%' });
        });
    </script>
{% endblock %}
{'fraction_non_alphanumeric': 0.1791640411678219, 'fraction_numerical': 0.00630119722747322, 'mean_word_length': 1.7305045871559632, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '7645972', 'n_tokens_mistral': 1613, 'n_tokens_neox': 1484, 'n_words': 293}