{% include cargo("bridge_pages_page_history_header") %}
{% if is_admin() %}
{% endif %}
{% include cargo("bridge_pages_select_format") with { "format": version.formatting|default('HTML'), "readonly": true } %}
{% include cargo("rich_text_editor") with { "name": "page_body", "placeholder": "", "contents": version.body|default(''), "readonly" : true } %}
{% include cargo("bridge_pages_metadata") with { "metadata": version.metadata } %}
{% if can('publish') %} {% if version.versionid != latestId or not version.published %}
{{ form_token() }}
{% if not version.published %} {% endif %} {% if version.versionid != latestId %} {% endif %}
{% endif %} {% endif %}