Преглед изворни кода

Add support for date fields in lists

Pascal Burkhard пре 14 година
родитељ
комит
8fb995823a
1 измењених фајлова са 13 додато и 0 уклоњено
  1. 13 0
      Resources/views/CRUD/list_date.html.twig

+ 13 - 0
Resources/views/CRUD/list_date.html.twig

@@ -0,0 +1,13 @@
+{#
+
+This file is part of the Sonata package.
+
+(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
+
+For the full copyright and license information, please view the LICENSE
+file that was distributed with this source code.
+
+#}
+{% extends 'SonataAdminBundle:CRUD:list_integer.html.twig' %}
+
+{% block field%}{{ value|date }}{% endblock %}