<commit_before><div class="ways-to-support">
    {% if (dream.currentStatus != 'completed') and (dream.currentStatus != 'success') %}
        <h3>Підтримати:</h3>
        <ul>
            {% if dream.dreamFinancialResources|length > 0 %}
                <li class="financial">
                    <span class="circle"><span></span></span><a href="javascript:void(0)" data-toggle="modal" data-target="{% if is_granted("IS_AUTHENTICATED_REMEMBERED")%}.financial-help-popup{% else %}#authorize-modal{% endif %}">Фінансово</a>
                    <div class="financial-help-popup modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <div class="modal-body">
                                    {{ form_start(finForm, {'attr': {'role': 'form' } } ) }}

                                    {{ form_row(finForm.financialResource) }}
                                    {{ form_row(finForm.quantity) }}
                                    {{ form_row(finForm.hiddenContributor) }}

                                    {% if app.user.phone is defined and app.user.phone is null %}
                                        <input type="text" name="contributor-telephone" value="" placeholder="Введіть ваш телефон*" class="form-control" id="contribute-telephone-form-id"  required> <br/>
                                    {% endif %}

                                    <div class="buttons">
                                        <input type="submit" value="{{ 'dream.support'|trans }}" class="text-center btn btn-warning btn-sm" id="sbmt-btn-fin">
                                        <input type="button" value="{{ 'dream.cancel'|trans }}" class="btn btn-xs btn-link" id="finButCancel" data-dismiss="modal">
                                    </div>

                                    {{ form_end(finForm) }}
                                </div>
                            </div>
                        </div>
                    </div>
                </li>
            {% endif %}
            {% if dream.dreamEquipmentResources|length > 0 %}
                <li class="equipment">
                    <span class="circle"><span></span></span><a href="javascript:void(0)" data-toggle="modal" data-target="{% if is_granted("IS_AUTHENTICATED_REMEMBERED")%}.equipment-help-popup{% else %}#authorize-modal{% endif %}">Обладнанням / Технікою</a>
                    <div class="equipment-help-popup modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <div class="modal-body">
                                    {{ form_start(equipForm, {'attr': {'role': 'form' } } ) }}

                                    {{ form_row(equipForm.equipmentResource) }}
                                    {{ form_row(equipForm.quantity) }}
                                    {{ form_row(equipForm.hiddenContributor) }}

                                    {% if app.user.phone is defined and app.user.phone is null %}
                                        <input type="text" name="contributor-telephone" value="" placeholder="Введіть ваш телефон*" class="form-control" id="contribute-telephone-form-id"  required> <br/>
                                    {% endif %}

                                    <div class="buttons">
                                        <input type="submit" value="{{ 'dream.support'|trans }}" class="text-center btn btn-warning  btn-sm" id="sbmt-btn-equip">
                                        <input type="button" value="{{ 'dream.cancel'|trans }}" class="btn btn-xs btn-link" id="equipButCancel" data-dismiss="modal">
                                    </div>

                                    {{ form_end(equipForm) }}
                                </div>
                            </div>
                        </div>
                    </div>
                </li>
            {% endif %}
            {% if dream.dreamWorkResources|length > 0 %}
                <li class="physical">
                    <span class="circle"><span></span></span><a href="javascript:void(0)" data-toggle="modal" data-target="{% if is_granted("IS_AUTHENTICATED_REMEMBERED")%}.physical-help-popup{% else %}#authorize-modal{% endif %}">Провести роботи</a>
                    <div class="physical-help-popup modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <div class="modal-body">
                                    {{ form_start(workForm, {'attr': {'role': 'form' } } ) }}

                                    {{ form_row(workForm.workResource) }}
                                    {{ form_row(workForm.quantity) }}
                                    {{ form_row(workForm.hiddenContributor) }}

                                    {% if app.user.phone is defined and app.user.phone is null %}
                                        <input type="text" name="contributor-telephone" value="" placeholder="Введіть ваш телефон*" class="form-control" id="contribute-telephone-form-id" required> <br/><commit_msg>Added HTML5 validation for quantity fields<commit_after><div class="ways-to-support">
    {% if (dream.currentStatus != 'completed') and (dream.currentStatus != 'success') %}
        <h3>Підтримати:</h3>
        <ul>
            {% if dream.dreamFinancialResources|length > 0 %}
                <li class="financial">
                    <span class="circle"><span></span></span><a href="javascript:void(0)" data-toggle="modal" data-target="{% if is_granted("IS_AUTHENTICATED_REMEMBERED")%}.financial-help-popup{% else %}#authorize-modal{% endif %}">Фінансово</a>
                    <div class="financial-help-popup modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <div class="modal-body">
                                    {{ form_start(finForm, {'attr': {'role': 'form' } } ) }}

                                    {{ form_row(finForm.financialResource) }}
                                    {{ form_row(finForm.quantity, {'attr': {'min': '1'}}) }}
                                    {{ form_row(finForm.hiddenContributor) }}

                                    {% if app.user.phone is defined and app.user.phone is null %}
                                        <input type="text" name="contributor-telephone" value="" placeholder="Введіть ваш телефон*" class="form-control" id="contribute-telephone-form-id"  required> <br/>
                                    {% endif %}

                                    <div class="buttons">
                                        <input type="submit" value="{{ 'dream.support'|trans }}" class="text-center btn btn-warning btn-sm" id="sbmt-btn-fin">
                                        <input type="button" value="{{ 'dream.cancel'|trans }}" class="btn btn-xs btn-link" id="finButCancel" data-dismiss="modal">
                                    </div>

                                    {{ form_end(finForm) }}
                                </div>
                            </div>
                        </div>
                    </div>
                </li>
            {% endif %}
            {% if dream.dreamEquipmentResources|length > 0 %}
                <li class="equipment">
                    <span class="circle"><span></span></span><a href="javascript:void(0)" data-toggle="modal" data-target="{% if is_granted("IS_AUTHENTICATED_REMEMBERED")%}.equipment-help-popup{% else %}#authorize-modal{% endif %}">Обладнанням / Технікою</a>
                    <div class="equipment-help-popup modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <div class="modal-body">
                                    {{ form_start(equipForm, {'attr': {'role': 'form' } } ) }}

                                    {{ form_row(equipForm.equipmentResource) }}
                                    {{ form_row(equipForm.quantity, {'attr': {'min': '1'}}) }}
                                    {{ form_row(equipForm.hiddenContributor) }}

                                    {% if app.user.phone is defined and app.user.phone is null %}
                                        <input type="text" name="contributor-telephone" value="" placeholder="Введіть ваш телефон*" class="form-control" id="contribute-telephone-form-id"  required> <br/>
                                    {% endif %}

                                    <div class="buttons">
                                        <input type="submit" value="{{ 'dream.support'|trans }}" class="text-center btn btn-warning  btn-sm" id="sbmt-btn-equip">
                                        <input type="button" value="{{ 'dream.cancel'|trans }}" class="btn btn-xs btn-link" id="equipButCancel" data-dismiss="modal">
                                    </div>

                                    {{ form_end(equipForm) }}
                                </div>
                            </div>
                        </div>
                    </div>
                </li>
            {% endif %}
            {% if dream.dreamWorkResources|length > 0 %}
                <li class="physical">
                    <span class="circle"><span></span></span><a href="javascript:void(0)" data-toggle="modal" data-target="{% if is_granted("IS_AUTHENTICATED_REMEMBERED")%}.physical-help-popup{% else %}#authorize-modal{% endif %}">Провести роботи</a>
                    <div class="physical-help-popup modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <div class="modal-body">
                                    {{ form_start(workForm, {'attr': {'role': 'form' } } ) }}

                                    {{ form_row(workForm.workResource) }}
                                    {{ form_row(workForm.quantity, {'attr': {'min': '1'}}) }}
                                    {{ form_row(workForm.hiddenContributor) }}

                                    {% if app.user.phone is defined and app.user.phone is null %}
                                        <input type="text" name="contributor-telephone" value="" placeholder="Введіть ваш телефон*" class="form-control" id="contribute-telephone-form-id" required> <br/>
{'fraction_non_alphanumeric': 0.14257228315054835, 'fraction_numerical': 0.0023565666636454273, 'mean_word_length': 1.3929733246584255, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 64, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4674052', 'n_tokens_mistral': 2941, 'n_tokens_neox': 2716, 'n_words': 489}