<?php
$translate = $this->plugin('translate');
$this->htmlElement('body')->appendAttribute('class', 'add items');
?>

<?php echo $this->pageTitle($translate('New item'), 1, $translate('Items')); ?>
<?php $this->trigger('view.add.before'); ?>
<?php
echo $this->partial('omeka/admin/item/form.phtml', [
    'form' => $form,
    'item' => null,
    'mediaForms' => $mediaForms,
    'submitLabel' => $translate('Add'),
    'sectionNavEvent' => 'view.add.section_nav',
    'action' => 'add',
]);
?>

<?php $this->trigger('view.add.after'); ?>
