<commit_before>{% extends "base.html" %}
{% block content %}
{% if form.errors %}
{{ form.errors }}
{% endif %}
<div class="row">
    <div class="col-lg-10">
        <form role="form" class="projectForm" method="post">
            {% csrf_token %}
            <fieldset>
                <legend>Проектен формуляр</legend>

                <div class="control-group">
                    <label class="control-label" for="projectName">Име на проекта</label>
                    <div class="controls">
                        <input id="projectName" name="name" type="text" placeholder="пример - Diaphanum" class="form-control" value="{{ form.name.value|default:"" }}" required>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectTeam">Екип на проекта</label>
                    <div class="controls">
                        {{ form.team }}
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectDescription">Описание на проекта</label>
                    <div class="controls">
                        <textarea id="description" name="description" class="form-control">{{ form.description.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectMission">Цели на проекта</label>
                    <div class="controls">
                        <textarea id="projectMission" name="targets" class="form-control">{{ form.targets.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectTasks">Задачи на проекта</label>
                    <div class="controls">
                        <textarea id="projectTasks" name="tasks" class="form-control">{{ form.tasks.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectTargetAudience">Целева група на проекта</label>
                    <div class="controls">
                        <textarea id="projectTargetAudience" name="target_group" class="form-control">{{ form.target_group.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectSchedule">График на проекта</label>
                    <div class="controls">
                        <textarea id="projectSchedule" name="schedule" class="form-control">{{ form.schedule.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectResources">Необходими ресурси</label>
                    <div class="controls">
                        <textarea id="projectResources" name="resources" class="form-control">{{ form.resources.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectFinance">Финансово описание на проекта</label>
                    <div class="controls">
                        <textarea id="projectFinance" name="finance_description" class="form-control">{{ form.finance_description.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectPartners">Партньори и Съфинансиране (ако има)</label>
                    <div class="controls">
                        <textarea  name="partners" class="form-control">{{ form.partners.value|default:"" }}</textarea>
                    </div>
                </div>

                <!-- File Button -->
                {# <div class="control-group"> #}
                {#     <label class="control-label" for="filebutton">File Button</label> #}
                {#     <div class="controls"> #}
                {#         <div> #}
                {#             <input name="files" class="input-file" type="file"> #}
                {#             <div id="addOneMoreButtonContainer"> #}
                {#                 <button id="addOneMoreFile" name="addOneMoreFile" class="btn btn-info" type="button">Добави още 1 файл</button> #}
                {#             </div> #}
                {#         </div> #}
                {#     </div> #}

                    <div class="control-group">
                        <label class="control-label" for="projectFormSubmit"></label>
                        <div class="controls">
                            <button id="projectFormSubmit" name="projectFormSubmit" class="btn btn-primary">Подай Формуляр</button>
                        </div>
                    </div>

                </fieldset>
            </form>
        </div>
    </div><commit_msg>Add placeholders to project form<commit_after>{% extends "base.html" %}
{% block content %}
{% if form.errors %}
{{ form.errors }}
{% endif %}
<div class="row">
    <div class="col-lg-10">
        <form role="form" class="projectForm" method="post">
            {% csrf_token %}
            <fieldset>
                <legend>Проектен формуляр</legend>

                <div class="control-group">
                    <label class="control-label" for="projectName">Име на проекта</label>
                    <div class="controls">
                        <input id="projectName" name="name" type="text" placeholder="пример - Diaphanum" class="form-control" value="{{ form.name.value|default:"" }}" required>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectTeam">Екип на проекта</label>
                    <div class="controls">
                        {{ form.team }}
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectDescription">Описание на проекта</label>
                    <div class="controls">
                        <textarea id="description" name="description" class="form-control" rows="4">{{ form.description.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectMission">Цели на проекта</label>
                    <div class="controls">
                        <textarea id="projectMission" name="targets" class="form-control" placeholder="Цели на проекта и предварителна оценка на ефекта" rows="4">{{ form.targets.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectTasks">Задачи на проекта</label>
                    <div class="controls">
                        <textarea id="projectTasks" name="tasks" class="form-control" placeholder="Задачи на проекта - конкретни дейности, които ще доведат до постигане на целите и търсеният ефект." rows="4">{{ form.tasks.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectTargetAudience">Целева група на проекта</label>
                    <div class="controls">
                        <textarea id="projectTargetAudience" name="target_group" class="form-control" placeholder="Целева група на проекта и за пряко и косвено засегнатите от дейността му лица" rows="4">{{ form.target_group.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectSchedule">График на проекта</label>
                    <div class="controls">
                        <textarea id="projectSchedule" name="schedule" class="form-control" placeholder="График на проекта, обвързан с конкретните дейности" rows="4">{{ form.schedule.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectResources">Необходими ресурси</label>
                    <div class="controls">
                        <textarea id="projectResources" name="resources" class="form-control" placeholder="Необходими ресурси за - човешки, финансови, информационни и времеви" rows="4">{{ form.resources.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectFinance">Финансово описание на проекта</label>
                    <div class="controls">
                        <textarea id="projectFinance" name="finance_description" class="form-control" placeholder="Говори ми за пар" rows="4">{{ form.finance_description.value|default:"" }}</textarea>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectPartners">Партньори и Съфинансиране (ако има)</label>
                    <div class="controls">
                        <textarea  name="partners" class="form-control" placeholder="Партньори на проекта и съфинансиране" rows="4">{{ form.partners.value|default:"" }}</textarea>
                    </div>
                </div>

                <!-- File Button -->
                {# <div class="control-group"> #}
                {#     <label class="control-label" for="filebutton">File Button</label> #}
                {#     <div class="controls"> #}
                {#         <div> #}
                {#             <input name="files" class="input-file" type="file"> #}
                {#             <div id="addOneMoreButtonContainer"> #}
                {#                 <button id="addOneMoreFile" name="addOneMoreFile" class="btn btn-info" type="button">Добави още 1 файл</button> #}
                {#             </div> #}
                {#         </div> #}
                {#     </div> #}

                    <div class="control-group">
                        <label class="control-label" for="projectFormSubmit"></label>
                        <div class="controls">
                            <button id="projectFormSubmit" name="projectFormSubmit" class="btn btn-primary">Подай Формуляр</button>
                        </div>
                    </div>

                </fieldset>
            </form>
        </div>
    </div>
{'fraction_non_alphanumeric': 0.14340448823207444, 'fraction_numerical': 0.001277139208173691, 'mean_word_length': 1.6170923848173788, 'pattern_counts': {'":': 0, '<': 219, '<?xml version=': 0, '>': 219, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '112315', 'n_tokens_mistral': 2994, 'n_tokens_neox': 2852, 'n_words': 552}