
<?php echo $javascript->link('findcustomer'); ?>
<div class="customers form">

    <?php echo $form->create('Customer', array('action'=>'find'));
    echo '<h2>Find Customer';
    echo $html->image('system-search.png');
    echo '</h2>';

    echo $form->input('Customer.name', array('Label'=>'Customer Name', 'id'=>'customerName'));

    //echo $form->input('Customer.id', array('type'=>'hidden'));

    //echo $form->end('Find');

    ?>
    <div class ="ui-widget">
        <button id="findButton">Find Customer</button>
    </div>


</div>

<div id="dialog" title="Search Results">
    <ul id="similarCustList">
    </ul>
</div>