<commit_before>{% extends 'CorvusAdminBundle:Default:adminBase.html.twig' %}

{% block mainContent %}

	<h2>Add a New Navigation item.</h2>
	<p>
		Please enter all the fields, Alternate text is highly usefull for people with screenreaders :)
	</p>

	<form action="{{ path('CorvusAdminBundle_NewNavigation') }}" method="post" {{ form_enctype(form) }} class="classy">
		<fieldset>
			<legend>Navigation Fields:</legend>
			
			<div>
                {{ form_label(form.navigation_order) }}
                <span class="asterix">*</span>
                {{ form_errors(form.navigation_order) }}
                {{ form_widget(form.navigation_order) }}
            </div>

            <div>
                {{ form_label(form.href) }}
                <span class="asterix">*</span>
                {{ form_errors(form.href) }}
                {{ form_widget(form.href) }}
            </div>

            <div>
                {{ form_label(form.title) }}
                <span class="asterix">*</span>
                {{ form_errors(form.title) }}
                {{ form_widget(form.title) }}
            </div>

            <div>
                {{ form_label(form.alt) }}
                <span class="asterix">*</span>
                {{ form_errors(form.alt) }}
                {{ form_widget(form.alt) }}
            </div>

            {{ form_row(form.internalRoutes) }}

		</fieldset>

		{{ form_rest(form) }}

		<a href="{{ path('CorvusAdminBundle_Navigation') }}" class="cancel">Cancel</a><commit_msg>Changed navigation_order to row_order in newNavigation view template<commit_after>{% extends 'CorvusAdminBundle:Default:adminBase.html.twig' %}

{% block mainContent %}

	<h2>Add a New Navigation item.</h2>
	<p>
		Please enter all the fields, Alternate text is highly usefull for people with screenreaders :)
	</p>

	<form action="{{ path('CorvusAdminBundle_NewNavigation') }}" method="post" {{ form_enctype(form) }} class="classy">
		<fieldset>
			<legend>Navigation Fields:</legend>
			
			<div>
                {{ form_label(form.row_order) }}
                <span class="asterix">*</span>
                {{ form_errors(form.row_order) }}
                {{ form_widget(form.row_order) }}
            </div>

            <div>
                {{ form_label(form.href) }}
                <span class="asterix">*</span>
                {{ form_errors(form.href) }}
                {{ form_widget(form.href) }}
            </div>

            <div>
                {{ form_label(form.title) }}
                <span class="asterix">*</span>
                {{ form_errors(form.title) }}
                {{ form_widget(form.title) }}
            </div>

            <div>
                {{ form_label(form.alt) }}
                <span class="asterix">*</span>
                {{ form_errors(form.alt) }}
                {{ form_widget(form.alt) }}
            </div>

            {{ form_row(form.internalRoutes) }}

		</fieldset>

		{{ form_rest(form) }}

		<a href="{{ path('CorvusAdminBundle_Navigation') }}" class="cancel">Cancel</a>
{'fraction_non_alphanumeric': 0.15692711753118843, 'fraction_numerical': 0.0013131976362442547, 'mean_word_length': 1.907442748091603, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '4231472', 'n_tokens_mistral': 970, 'n_tokens_neox': 881, 'n_words': 146}