<commit_before>{% extends '::ojsbase.html.twig' %}
{% block title %}{{ 'title.citation_new'|trans }} {{ parent() }}{% endblock %}

{% block breadcrumb %}
    {% set list = [
        {'link': path('dashboard'), 'title': 'dashboard'|trans},
        {'link': path('ojs_journal_citation_index', {'articleId': app.request.get('articleId'), 'journalId': selectedJournal().id}), 'title': 'title.citations'|trans},
        {'title': 'title.citation_new'|trans}
    ] %}
    {{ breadcrumb(list) }}
{% endblock %}

{% block body -%}
    <h2>{{ 'title.citation_new'|trans }}</h2>

    {{ form(form) }}

    {{
    actions({
        'create': {'href': path('ojs_journal_citation_new', {'articleId': app.request.get('articleId'), 'journalId': selectedJournal().id})},
    })
    }}
{% endblock %}<commit_msg>Replace the create button with a back button in new citation page<commit_after>{% extends '::ojsbase.html.twig' %}
{% block title %}{{ 'title.citation_new'|trans }} {{ parent() }}{% endblock %}

{% block breadcrumb %}
    {% set list = [
        {'link': path('dashboard'), 'title': 'dashboard'|trans},
        {'link': path('ojs_journal_citation_index', {'articleId': app.request.get('articleId'), 'journalId': selectedJournal().id}), 'title': 'title.citations'|trans},
        {'title': 'title.citation_new'|trans}
    ] %}
    {{ breadcrumb(list) }}
{% endblock %}

{% block body -%}
    <h2>{{ 'title.citation_new'|trans }}</h2>

    {{ form(form) }}

    {{
        actions({
            'back': {'href': path('ojs_journal_citation_index', {'articleId': app.request.get('articleId'), 'journalId': selectedJournal().id})},
        })
    }}
{% endblock %}
{'fraction_non_alphanumeric': 0.22611850060459493, 'fraction_numerical': 0.0024183796856106408, 'mean_word_length': 3.9550898203592815, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3520684', 'n_tokens_mistral': 575, 'n_tokens_neox': 535, 'n_words': 97}