Skip to content

Commit

Permalink
Deprecated unused templates related to forms
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Aug 1, 2020
1 parent 8bb0c21 commit 3ea7c08
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/views/CRUD/base_filter_field.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ file that was distributed with this source code.
#}

{% deprecated 'The "base_filter_field.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

<div>
{% block label %}
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/views/CRUD/base_inline_edit_field.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ file that was distributed with this source code.
#}

{% deprecated 'The "base_inline_edit_field.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

<div id="sonata-ba-field-container-{{ field_element.vars.id }}" class="sonata-ba-field sonata-ba-field-{{ edit }}-{{ inline }}{% if field_element.vars.errors|length %} sonata-ba-field-error{% endif %}">

{% block label %}
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/views/CRUD/base_standard_edit_field.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ file that was distributed with this source code.
#}

{% deprecated 'The "base_standard_edit_field.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

<div class="form-group{% if field_element.var.errors|length > 0 %} has-error{% endif %}" id="sonata-ba-field-container-{{ field_element.vars.id }}">
{% block label %}
{% if field_description.options.name is defined %}
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/views/CRUD/edit_array.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ file that was distributed with this source code.
#}

{% deprecated 'The "edit_array.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

{% extends base_template %}

{% block field %}
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/views/CRUD/edit_boolean.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ file that was distributed with this source code.
#}

{% deprecated 'The "edit_boolean.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

<div>
<div class="sonata-ba-field{% if field_element.vars.errors|length > 0 %} sonata-ba-field-error{% endif %}">
{% block field %}{{ form_widget(field_element) }}{% endblock %}
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/views/CRUD/edit_file.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ file that was distributed with this source code.
#}

{% deprecated 'The "edit_file.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

{% extends base_template %}

{% block field %}{{ form_widget(field_element, {'attr': {'class' : 'title'}}) }}{% endblock %}
2 changes: 2 additions & 0 deletions src/Resources/views/CRUD/edit_integer.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ file that was distributed with this source code.
#}

{% deprecated 'The "edit_integer.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

{% extends base_template %}

{% block field %}{{ form_widget(field_element, {'attr': {'class' : 'title'}}) }}{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ file that was distributed with this source code.
#}

{% deprecated 'The "edit_sonata_type_immutable_array.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

{% extends base_template %}
2 changes: 2 additions & 0 deletions src/Resources/views/CRUD/edit_string.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ file that was distributed with this source code.
#}

{% deprecated 'The "edit_string.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

{% extends base_template %}

{% block field %}{{ form_widget(field_element, {'attr': {'class' : 'title'}}) }}{% endblock %}
2 changes: 2 additions & 0 deletions src/Resources/views/CRUD/edit_text.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ file that was distributed with this source code.
#}

{% deprecated 'The "edit_text.html.twig" is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0' %}

{% extends base_template %}

{% block field %}{{ form_widget(field_element, {'attr': {'class' : 'title'}}) }}{% endblock %}

0 comments on commit 3ea7c08

Please sign in to comment.