<commit_before>{% extends '@CMS/Admin/structure.html.twig' %}

{% block html_head_title %}{{ 'Edit folder'|trans }} / {{ parent() }}{% endblock html_head_title %}

{% block content %}
    <div class="span9">
    {{ knp_menu_render('CMSBundle:AdminMenu:structureOnFolderEdit', {'currentClass': 'active'}) }}

    <div class="well well-small">
        <form action="" {{ form_enctype(form) }} method="POST" class="form-horizontal">
            {{ form_widget(form) }}

            <div class="control-group">
                <div class="controls">
                    <button type="submit" name="update" class="btn btn-success"><i class="icon-ok icon-white"></i> {{ 'Save'|trans }}</button>
                    {% if allow_delete %}
                        <button type="submit" name="delete" class="btn btn-danger" onclick="return confirm('Вы уверены, что хотите удалить?')"><i class="icon-trash icon-white"></i> {{ 'Delete'|trans }}</button>
                    {% endif %}
                    <a class="btn cmf-cancel" href="{{ path('cms_admin_structure') }}">{{ 'Cancel'|trans }}</a>
                </div>
            </div>

        </form>
    </div>

    </div>
{% endblock content %}

{% block bottom_nav %}
    <div class="span3">
        {{ include('@CMS/Admin/_tree.html.twig') }}
    </div>
{% endblock bottom_nav %}<commit_msg>Табы на форме редактирования папки в админке<commit_after>{% extends '@CMS/Admin/structure.html.twig' %}

{% block html_head_title %}{{ 'Edit folder'|trans }} / {{ parent() }}{% endblock html_head_title %}

{% block content %}
    <div class="span9">
    {{ knp_menu_render('CMSBundle:AdminMenu:structureOnFolderEdit', {'currentClass': 'active'}) }}

        <div class="well well-small">
            {{ form_start(form, {'attr':{'class':'form-horizontal'}}) }}
            {{ form_errors(form) }}
            <fieldset>
                <div class="tabbable">
                <ul class="nav nav-tabs">
                    <li class="active">
                        <a href="#base-setting" data-toggle="tab">Основные настройки</a>
                    </li>
                    <li><a href="#meta-setting" data-toggle="tab">Мета теги</a></li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="base-setting">

                        <div class="control-group">
                            {{ form_label(form.title) }}
                            {{ form_errors(form.title) }}
                            <div class=" controls">{{ form_widget(form.title) }}</div>
                        </div>
                        <div class="control-group">
                            {{ form_label(form.descr) }}
                            {{ form_errors(form.descr) }}
                            <div class=" controls">{{ form_widget(form.descr) }}</div>
                        </div>
                        <div class="control-group">
                            {{ form_label(form.router_node_id) }}
                            {{ form_errors(form.router_node_id) }}
                            <div class=" controls">{{ form_widget(form.router_node_id) }}</div>
                        </div>
                        <div class="control-group">
                            {{ form_label(form.position) }}
                            {{ form_errors(form.position) }}
                            <div class=" controls">{{ form_widget(form.position) }}</div>
                        </div>
                        <div class="control-group">
                            {{ form_label(form.has_inherit_nodes) }}
                            {{ form_errors(form.has_inherit_nodes) }}
                            <div class=" controls">{{ form_widget(form.has_inherit_nodes) }}</div>
                        </div>
                        <div class="control-group">
                            {{ form_label(form.template_inheritable) }}
                            {{ form_errors(form.template_inheritable) }}
                            <div class=" controls">{{ form_widget(form.template_inheritable) }}</div>
                        </div>
                        <div class="control-group">
                            {{ form_label(form.template_self) }}
                            {{ form_errors(form.template_self) }}
                            <div class=" controls">{{ form_widget(form.template_self) }}</div>
                        </div>
                    </div>
                     <div class="tab-pane" id="meta-setting">
                        <div class="control-group">
                            {{ form_label(form.meta.description) }}
                            {{ form_errors(form.meta.description) }}
                            <div class=" controls">{{ form_widget(form.meta.description) }}</div>
                        </div>
                        <div class="control-group">
                            {{ form_label(form.meta.keywords) }}
                            {{ form_errors(form.meta.keywords) }}
                            <div class=" controls">{{ form_widget(form.meta.keywords) }}</div>
                        </div>
                    </div>
                </div>
                </div>
                    <div class="control-group">
                    <div class="controls">
                        <button type="submit" name="update" class="btn btn-success"><i class="icon-ok icon-white"></i> {{ 'Save'|trans }}</button>
                        {% if allow_delete %}
                            <button type="submit" name="delete" class="btn btn-danger" onclick="return confirm('Вы уверены, что хотите удалить?')"><i class="icon-trash icon-white"></i> {{ 'Delete'|trans }}</button>
                        {% endif %}
                        <a class="btn cmf-cancel" href="{{ path('cms_admin_structure') }}">{{ 'Cancel'|trans }}</a>
                    </div>
                </div>
            </fieldset>
            {{ form_end(form) }}
        </div>


 <!--       <div class="well well-small">
        <form action="" {{ form_enctype(form) }} method="POST" class="form-horizontal">
            {{ form_widget(form) }}

            <div class="control-group">
                <div class="controls">
                    <button type="submit" name="update" class="btn btn-success"><i class="icon-ok icon-white"></i> {{ 'Save'|trans }}</button>
                    {% if allow_delete %}
                        <button type="submit" name="delete" class="btn btn-danger" onclick="return confirm('Вы уверены, что хотите удалить?')"><i class="icon-trash icon-white"></i> {{ 'Delete'|trans }}</button>
                    {% endif %}
                    <a class="btn cmf-cancel" href="{{ path('cms_admin_structure') }}">{{ 'Cancel'|trans }}</a>
                </div>
            </div>

        </form>
    </div>-->

    </div>
{% endblock content %}

{% block bottom_nav %}
    <div class="span3">
        {{ include('@CMS/Admin/_tree.html.twig') }}
    </div>
{% endblock bottom_nav %}
{'fraction_non_alphanumeric': 0.16169789892106756, 'fraction_numerical': 0.0005678591709256105, 'mean_word_length': 1.5160714285714285, 'pattern_counts': {'":': 0, '<': 120, '<?xml version=': 0, '>': 120, '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': '3318260', 'n_tokens_mistral': 1968, 'n_tokens_neox': 1854, 'n_words': 334}