## get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{$context->getDisplayName()}

{if count($failed.folders) || (count($failed.documents))}

{i18n}The following list shows documents and folders in your list which cannot be acted on by this bulk action{/i18n}:

{if count($failed.folders)}

{i18n}Folders{/i18n}
{i18n}Name{/i18n} | {i18n}Reason for failure{/i18n}
--- | ---
{foreach from=$failed.folders item=item}
{$item.0|sanitize} | {$item.1|sanitize}
{/foreach}

{/if}

{if (count($failed.documents))}

{i18n}Documents{/i18n}
{i18n}Name{/i18n} | {i18n}Reason for failure{/i18n}
--- | ---

{foreach from=$failed.documents item=item}
{$item.0|sanitize} | {$item.1|sanitize}
{/foreach}

{/if} {/if}

{if (count($documents) || count($folders))}

{i18n}The action will be performed on the following documents and folders{/i18n}:

{if (count($folders))}

### {i18n}Folders{/i18n}

{foreach from=$folders item=folder}
- {$folder.name|sanitize} {if $folder.notice} ({$folder.notice}) {/if}
{/foreach}

{/if}

{if count($documents)}

### {i18n}Documents{/i18n}

{foreach from=$documents item=document}
- {$document.name|sanitize} {if $document.notice} ({$document.notice}) {/if}
{/foreach}

{/if} {/if}

{if (!count($failed.folders) && !count($failed.documents))}

{i18n}The action can be performed on the entire selection.{/i18n}

{/if}

{if (!$activecount)}

{i18n}The action cannot be performed on any of the selected entities.{/i18n}

{$failedform->render()} {else} {$form->render()} {/if}