_e("Removing this collection", "maxbuttons");
?>
</span>
<span class="remove_action_text"  style="display:none"><?php 
_e("Are you sure you want to permanently delete this collection?", "maxbuttons");
?>
</span>


<div class='collection_list'>
<?php 
foreach ($collections as $index => $data) {
    $id = $data["collection_id"];
    $name = $maxCol->get_meta($id, "collection_name");
    $name = $name["collection_name"];
    $collection = maxCollections::getCollectionById($id);
    $collection_type = $collection->getType();
    $block_nonce = wp_create_nonce('mbpro_collection_block-' . $id);
    $button_count = 0;
    $picker = $collection->getBlock("picker");
    if ($picker) {
        $picker_data = $picker->get();
        $button_count = count($picker_data["selection"]);
    }
    ?>
	
	 
	<div class='collection collection-<?php 
    echo $id;
    ?>
' data-id="<?php