<?php
$translate = $this->plugin('translate');
$escape = $this->plugin('escapeHtml');
$this->dataType()->prepareForm();
?>

<div class="resource-property field template" data-template-id="" role="group">
    <div class="field-meta">
        <div class="field-label"></div>
        <a href="#" class="collapse" aria-label="<?php echo $escape($translate('Collapse')); ?>"></a>
        <div class="collapsible">
            <div class="field-description"></div>
            <div class="field-term" title="<?php echo $escape($translate('Property term for development use')); ?>"></div>
        </div>
    </div>
    <div class="inputs">
        <div class="values">
            <p class="no-values"><?php echo $translate('Select the first value type.'); ?></p>
        </div>
        <div class="add-values default-selector">
            <label class="o-icon-add"><?php echo $translate('Add value'); ?></label>
            <a href="#" class="add-value button o-icon-literal" data-type="literal"><?php echo $translate('Text'); ?></a>
            <a href="#" class="add-value button o-icon-resource" data-type="resource"><?php echo $translate('Omeka resource'); ?></a>
            <a href="#" class="add-value button o-icon-uri" data-type="uri"><?php echo $translate('URI'); ?></a>
        </div>
        <div class="add-values multiple-selector" style="display:none">
            <label class="o-icon-add"><?php echo $translate('Add value'); ?></label>
        </div>
        <div class="add-values single-selector" style="display:none">
            <label class="o-icon-add"><?php echo $translate('Add value'); ?></label>
            <a href="#" class="add-value button"><?php echo $translate('Add value'); ?></a>
        </div>
    </div>
</div>

<?php echo $this->dataType()->getTemplates(); ?>
