
{if $previews && !empty($previews)}
    <div id="confirm_designs_block">
        {$css_block}

        <script type="application/javascript">
            var msg_builder_design_confirm = '{$msg_builder_design_confirm}';
        </script>
        {$js_block}

        <div class="table_block table-responsive">
            <table class="table table-bordered stock-management-on">
                <thead>
                    <th class="cart_description first_item">{l s='Confirm The Product Designs'}</th>
                </thead>
                <tbody>
                    <tr class="last_item first_item address_5 builder_check_input_container">
                        <td>

                            <p class="carrier_title"></p>
                            <p class="checkbox">
                                <input type="checkbox" name="cbd" id="cbd" value="1" />
                                <label for="cbd"> {l s='I agree.'}</label>
                            </p>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            {foreach $previews as $product_preview}
                                {foreach $product_preview as $preview}

                                    <div class="builder_designs_image_comtainer">
                                        <div class="preview" style="background: url({$preview->images[Preview::IMAGE_MEDIUM]['src']}) no-repeat">
                                        </div>
                                        <div class="full_size_preview"  style="background: url({$preview->images[Preview::IMAGE_BIG]['src']}) no-repeat">
                                            <div class="close_button"></div>
                                        </div>
                                        <div class="remove_design_block">
                                            <a href="#" builder_id="{$preview->builder_id}" view_id="{$preview->view_id}">{l s="Remove" mod="myswissstyle"}</a>
                                        </div>
                                    </div>

                                {/foreach}
                            {/foreach}
                        </td>
                    </tr>

                </tbody>
            </table>
        </div>
    </div>
{/if}