<commit_before>{% extends "@BurutBase/layout.html.twig" %}
{% set user = base.user %}
{% block content %}

    <div style="padding-left: 50px; padding-top: 50px;">
        <b>{{ base.title }}</b> Edit database - fields
        <br/><br/>
        <div><a href="{{ path("_base_edit", {id: base.id}, {user: user}, {base: base}) }}">Configuration</a>&nbsp|&nbspFields</div>
    </div>
    {#<div style="padding-left: 50px; padding-top: 50px;">#}
        {#<br/>#}
    <form>
        <table>
            <tr>
                <td>Field title</td><td>Type</td><td>Field config</td><td>Show in list</td><td>Is required</td>
            </tr>
            {% for field in baseField %}

            <tr>
                <td>{{ field.title }}</td><td>{{ field.fieldType.code }}</td>
                <td>{% if field.fieldType.code == "LIST" %} <a href="">Edit values</a>{% endif %}</td>
                <td><input name="" type="checkbox" {{ field.isShow == 1 ? 'selected' : 'zzz' }} value="{{ field.isShow }}"  ></td>
            </tr>
            {% endfor %}
        </table>
    </form>
             <br/>
    <a href="{{ path("_home") }}"><div style="display: inline-block; border: 2px solid #000000; border-radius: 5px; background-color: yellow;
 width: 120px; height: 20px; text-align: center; margin-left: 15px;">Back to base list</div></a>

{% endblock %}<commit_msg>редактирование записи<commit_after>{% extends "@BurutBase/layout.html.twig" %}
{% set user = base.user %}
{% block content %}

    <div style="padding-left: 50px; padding-top: 50px;">
        <b>{{ base.title }}</b> Edit database - fields
        <br/><br/>
        <div><a href="{{ path("_base_edit", {id: base.id}, {user: user}, {base: base}) }}">Configuration</a>&nbsp|&nbspFields</div>
    </div>
    {#<div style="padding-left: 50px; padding-top: 50px;">#}
        {#<br/>#}
    <form>
        <table>
            <tr>
                <td>Field title</td><td>Type</td><td>Field config</td><td>Show in list</td><td>Is required</td>
            </tr>
            {% for field in baseField %}

            <tr>
                <td>{{ field.title }}</td><td>{{ field.fieldType.code }}</td>
                <td>{% if field.fieldType.code == "LIST" %} <a href="">Edit values</a>{% endif %}</td>
                <td><input name="" type="checkbox" {{ field.isShow == "1" ? 'checked' : 'zzz' }} value="{{ field.isShow }}"  ></td>
            </tr>
            {% endfor %}
        </table>
    </form>
             <br/>
    <a href="{{ path("_home") }}"><div style="display: inline-block; border: 2px solid #000000; border-radius: 5px; background-color: yellow;
 width: 120px; height: 20px; text-align: center; margin-left: 15px;">Back to base list</div></a>

{% endblock %}
{'fraction_non_alphanumeric': 0.22100256128796195, 'fraction_numerical': 0.01756311745334797, 'mean_word_length': 2.4089775561097255, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, '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': '1373996', 'n_tokens_mistral': 996, 'n_tokens_neox': 896, 'n_words': 215}