{% extends 'layouts/app.twig' %} {% import 'macros/base.twig' as m %} {% import 'macros/form.twig' as f %} {% block title %}{{ news and news.id ? __('news.edit.edit') : __('news.edit.add') }}{% endblock %} {% block content %}
{{ m.icon('clock') }} {{ news.updated_at.format(__('Y-m-d H:i')) }}
{% if news.updated_at != news.created_at %}
{{ __('news.updated') }}
{{ m.icon('clock') }} {{ news.created_at.format(__('Y-m-d H:i')) }}
{% endif %}
{{ m.user(news.user) }}