- {% set number = conflicted_drafts|length %}
- {% if number == 1 %}
- {{ 'draft.conflict.number.one'|trans|desc('There is already one draft for this Content item.') }}
- {% else %}
- {{ 'draft.conflict.number.multiple'|trans({ '%number%': number })|desc('There are already %number% drafts for this Content item.') }}
- {% endif %}
-
- {% if content_is_user %}
- {{ 'draft.conflict.choice_content_is_user'|trans({})|desc('You can edit any of your existing draft(s)') }}
- {% else %}
- {{ 'draft.conflict.choice'|trans({})|desc('You can either edit any of your existing draft(s) or add a new one.') }}
- {% endif %}
-
+ {% set number = conflicted_drafts|length %}
+ {% if number == 1 %}
+ {{ 'draft.conflict.number.one'|trans|desc('There is already one draft for this Content item.') }}
+ {% else %}
+ {{ 'draft.conflict.number.multiple'|trans({ '%number%': number })|desc('There are already %number% drafts for this Content item.') }}
+ {% endif %}
+
+ {% if content_is_user %}
+ {{ 'draft.conflict.choice_content_is_user'|trans({})|desc('You can edit any of your existing draft(s)') }}
+ {% else %}
+ {{ 'draft.conflict.choice'|trans({})|desc('You can either edit any of your existing draft(s) or add a new one.') }}
+ {% endif %}
- {{ 'trash.modal.send_to_trash.message'|trans|desc('Are you sure you want to send this Content item to Trash?') }}
-
- {% for option in form.trash_options %}
-
-
- {{ form_label(option) }}
+ {% for option in form.trash_options %}
+
+
+ {{ form_label(option) }}
+
+ {% if option.vars.help_multiline ?? false %}
+ {% for help in option.vars.help_multiline %}
+
+ {{ help }}
- {% if option.vars.help_multiline ?? false %}
- {% for help in option.vars.help_multiline %}
-
- {{ help }}
-
- {% endfor %}
- {% endif %}
- {% for input in option %}
- {{ form_widget(input) }}
- {% endfor %}
- {# Do not render label if no options input #}
- {% do option.setRendered() %}
-
- {% endfor %}
- {% if form.trash_options is not empty %}
-
- {{ form_widget(form.confirm) }}
-
+ {% endfor %}
{% endif %}
+ {% for input in option %}
+ {{ form_widget(input) }}
+ {% endfor %}
+ {# Do not render label if no options input #}
+ {% do option.setRendered() %}
-
- {{ form_end(form) }}
-
-
-
+ {% endfor %}
+ {% if form.trash_options is not empty %}
+
- {{ 'tab.urls.add.redirect'|trans|desc('Redirect to alias destination') }}
- {{ form_widget(form.redirect) }}
-
{{ 'tab.urls.add.redirect.helper.checked'|trans|desc('The alias will redirect to the destination using an HTTP 301 response.') }}
-
{{ 'tab.urls.add.redirect.helper.unchecked'|trans|desc('The alias will not redirect to the destination and the URL will stay the same.') }}
-
-
- {{ 'tab.urls.add.site_root'|trans|desc('Place at the site root') }}
- {{ form_widget(form.site_root) }}
-
{{ 'tab.urls.add.site_root.helper.checked'|trans|desc('The alias will be placed at the site root.') }}
-
- {% if parent_name is not null %}
- {{ 'tab.urls.add.site_root.helper.unchecked'|trans({'%parent_name%': parent_name})|desc('The alias will be placed under %parent_name%') }}
- {% else %}
- {{ 'tab.urls.add.site_root.helper.no_parent_name'|trans|desc('The alias will be placed under the parent of this Location') }}
- {% endif %}
-
+ {{ 'tab.urls.add.redirect'|trans|desc('Redirect to alias destination') }}
+ {{ form_widget(form.redirect) }}
+
{{ 'tab.urls.add.redirect.helper.checked'|trans|desc('The alias will redirect to the destination using an HTTP 301 response.') }}
+
{{ 'tab.urls.add.redirect.helper.unchecked'|trans|desc('The alias will not redirect to the destination and the URL will stay the same.') }}
+
+
+ {{ 'tab.urls.add.site_root'|trans|desc('Place at the site root') }}
+ {{ form_widget(form.site_root) }}
+
{{ 'tab.urls.add.site_root.helper.checked'|trans|desc('The alias will be placed at the site root.') }}
+
+ {% if parent_name is not null %}
+ {{ 'tab.urls.add.site_root.helper.unchecked'|trans({'%parent_name%': parent_name})|desc('The alias will be placed under %parent_name%') }}
+ {% else %}
+ {{ 'tab.urls.add.site_root.helper.no_parent_name'|trans|desc('The alias will be placed under the parent of this Location') }}
+ {% endif %}
- {{ 'trash.delete.all.confirm'|trans({'%trashItemsCount%': trash_items_count})|desc('Are you sure you want to permanently delete %trashItemsCount% item(s)?') }}
-
-
- {{ 'trash.delete.all.info'|trans|desc('This action cannot be reversed') }}
-
+ {{ 'trash.delete.all.confirm'|trans({'%trashItemsCount%': trash_items_count})|desc('Are you sure you want to permanently delete %trashItemsCount% item(s)?') }}
+
+
+ {{ 'trash.delete.all.info'|trans|desc('This action cannot be reversed') }}
+
{{ 'url_wildcard.modal.create.redirect.helper'|trans|desc('When checked, the URL displayed will be the URL of the destination. When unchecked, the wildcard will not redirect to the destination and the URL will stay the same.') }}
+ {{ 'url_wildcard.modal.create.redirect.helper'|trans|desc(
+ 'When checked, the URL displayed will be the URL of the destination. When unchecked, the wildcard will not redirect to the destination and the URL will stay the same.'
+ ) }}