{extends file="$layouts_admin"}

{block name="content"}

    <div class="row">
        <div class="widget-1 col-md-6 col-sm-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">Lead Status</h3>
                </div>
                <div class="panel-body">
                    <form role="form" name="accadd" method="post" action="{$_url}crmleads/lead-status-post">
                        <div class="form-group">
                            <label for="name">{$_L['Name']}</label>
                            <input type="text" class="form-control" id="name" name="name">
                        </div>




                        <button type="submit" class="btn btn-primary"><i class="fa fa-check"></i> {$_L['Submit']}</button>
                    </form>
                </div>
            </div>
        </div> <!-- Widget-1 end-->
        <div class="widget-1 col-md-6 col-sm-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">Reorder Lead Status</h3>
                </div>
                <div class="panel-body">
                    <span id="resp">{$_L['drag_n_drop_help']}</span>
                    <ol class="rounded-list" id="sorder">


                        {foreach $d as $ds}
                            <li id='recordsArray_{$ds['id']}'><a href="{$_url}crmleads/lead-status-edit/{$ds['id']}">{$ds['sname']}</a></li>
                                
                        {/foreach}

                    </ol>

                </div>
            </div>
        </div>
        <!-- Widget-2 end-->
    </div> <!-- Row end-->


    <!-- Row end-->


    <!-- Row end-->
{/block}
