{% extends "ShuweeAdminBundle::page_content.html.twig" %}

{% form_theme form 'bootstrap_3_layout.html.twig' %}

{% block page_title %}{{ 'crud.create' | trans({}, 'ShuweeAdminBundle') }}{% endblock %}

{% block action_links %}
    {% if grants['list'] %}
    <a href="{{ admin_get_path(admin, 'index') }}" class="btn btn-sm btn-default" type="button"><i class="glyphicon glyphicon-chevron-left"></i> {{'nav.backtolist' | trans({}, 'ShuweeAdminBundle') }}</a>
    {% endif %}
{%  endblock %}

{% block header_title %}
    {{ 'crud.create' | trans({}, 'ShuweeAdminBundle') }} <small>{{ admin_get_label(admin) }}</small>
{% endblock %}

{% block body %}
    {{ form(form) }}
{% endblock %}

{% extends "ShuweeAdminBundle::page_content.html.twig" %}

{% form_theme form 'bootstrap_3_layout.html.twig' %}

{% block page_title %}{{ 'crud.create' | trans({}, 'ShuweeAdminBundle') }}{% endblock %}

{% block action_links %}
    {% if admin.isGranted('LIST') %}
    <a href="{{ admin_get_path(admin, 'index') }}" class="btn btn-sm btn-default" type="button"><i class="glyphicon glyphicon-chevron-left"></i> {{'nav.backtolist' | trans({}, 'ShuweeAdminBundle') }}</a>
    {% endif %}
{%  endblock %}

{% block header_title %}
    {{ 'crud.create' | trans({}, 'ShuweeAdminBundle') }} <small>{{ admin_get_label(admin) }}</small>
{% endblock %}

{% block body %}
    {{ form(form) }}
{% endblock %}

Fix grant check on create content template
Fix grant check on create content template
