{% extends 'CompanyBaseBundle::layout.html.twig' %}

{% block content %}
<h1>{{'document.new.creation'| trans({},'CompanyBaseBundle')}}</h1>

<form action="{{ path('document_create') }}" method="post" {{ form_enctype(form) }}>
    {{ form_widget(form) }}
    <p>
        <button type="submit">{{'document.new.create'| trans({},'CompanyBaseBundle')}}</button>
    </p>
</form>

<ul class="record_actions">
    <li>
        <a href="{{ path('document') }}">
            {{'document.edit.back' | trans({},'CompanyBaseBundle')}}
        </a>
    </li>
</ul>
{% endblock %}
