<commit_before>{# Page: NavSecondary > Content ... > Edit #}
{% extends '_base/_page.twig' %}
{% block ptype 'Content' %}
{% block page_title %}
    {% set contenttype = {'%contenttype%': context.contenttype.singular_name} %}
    {% if context.content.title %}
        {{ __('Edit %contenttype%', contenttype) }} » <i>{{context.content.title}}</i>
    {% else %}
        {{ __('New %contenttype%', contenttype) }}
    {% endif %}
{% endblock page_title %}
{% block pmain %}

{% import '_macro.twig' as macro %}

<div class="row">

    <div class="col-lg-12">
        <h1 class="page-header">{{ block('page_title') }}</h1>
    </div>

    <div class="col-md-8">

    <form method="post" id="editcontent" enctype="multipart/form-data" class="form-horizontal" role="form">
        {% include '_sub/_csrf_token.twig' %}

        {% include 'editcontent/_fields.twig' %}

        <hr>

        {% include 'editcontent/_relations.twig' %}

        {% include 'editcontent/_taxonomies.twig' %}

        <h3>
            {{ __('Meta information') }}<commit_msg>Fixed bug where new contentype title displays "Edit »"<commit_after>{# Page: NavSecondary > Content ... > Edit #}
{% extends '_base/_page.twig' %}
{% block ptype 'Content' %}
{% block page_title %}
    {% set contenttype = {'%contenttype%': context.contenttype.singular_name} %}
    {% if context.content.title is not empty %}
        {{ __('Edit %contenttype%', contenttype) }} » <i>{{context.content.title}}</i>
    {% else %}
        {{ __('New %contenttype%', contenttype) }}
    {% endif %}
{% endblock page_title %}
{% block pmain %}

{% import '_macro.twig' as macro %}

<div class="row">

    <div class="col-lg-12">
        <h1 class="page-header">{{ block('page_title') }}</h1>
    </div>

    <div class="col-md-8">

    <form method="post" id="editcontent" enctype="multipart/form-data" class="form-horizontal" role="form">
        {% include '_sub/_csrf_token.twig' %}

        {% include 'editcontent/_fields.twig' %}

        <hr>

        {% include 'editcontent/_relations.twig' %}

        {% include 'editcontent/_taxonomies.twig' %}

        <h3>
            {{ __('Meta information') }}
{'fraction_non_alphanumeric': 0.19675925925925927, 'fraction_numerical': 0.005555555555555556, 'mean_word_length': 3.06203007518797, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 29, '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': '5702786', 'n_tokens_mistral': 771, 'n_tokens_neox': 680, 'n_words': 142}