{# empty Twig template #} {% extends 'layout.html.twig' %} {% block stylesheets %} {{parent()}} {% endblock %} {% block body %} {{ parent() }}
{% if app.user.role == 'ROLE_ADMIN' or app.user.role == 'ROLE_TUTOR' %} {% trans %}Go to mission{% endtrans %} {% endif %}
{{ form_start(form,{ 'attr' :{'role':'form', 'class':'enable-form'} }) }}
{{ form_label(form.description, "Description"|trans(), {'label_attr': {'class': 'col-sm-2 col-xs-4 col-md-offset-1 col-md-4'}}) }}
{{ form_widget(form.description, { 'attr' : {'class': 'form-control', 'placeholder' : 'Description'} }) }} {{ form_errors(form.description) }}
{{ form_label(form.level, "Level"|trans(), {'label_attr': {'class': 'col-sm-2 col-xs-4 col-md-offset-1 col-md-4'}}) }}
{{ form_widget(form.level, { 'attr' : {'class': 'form-control', 'placeholder' : 'Level'} }) }} {{ form_errors(form.level) }}
{{ form_label(form.parameter, "Parameter"|trans(), {'label_attr': {'class': 'col-sm-2 col-xs-4 col-md-offset-1 col-md-4'}}) }}
{{ form_widget(form.parameter, { 'attr' : {'class': 'form-control', 'placeholder' : 'Parameter'} }) }} {{ form_errors(form.parameter) }}
{% trans %}Cancel{% endtrans %}
{{ form_widget(form.save,{ 'label' : 'Save and return'|trans(), 'attr': { 'class': 'btn trivial-edit-update col-md-2 col-md-offset-1 gametool-btn-disabled btn-disabled', 'disabled':'true' }}) }}
{{ form_end(form) }}
{% endblock %}