

<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#"> استيراد السيارات</a></li>
            <li><a href="carReviewerController.php?do=show">كنترول المراجعين </a></li>
            <li class="active">المراجعين  </li>
        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title">المراجعين  </h3>
            </div>
            <div class="panel-body">


                {literal}
                <form class="form-horizontal"  action="carReviewerController.php?do=savedata"  method="post"  enctype="multipart/form-data">
                    {/literal}
                    <input type="hidden" name="id" value="{$reviewersData.id}" />
                    <div class="form-group">
                        <label for="reviewer1" class="col-lg-2 control-label">مراجع 1</label>
                        <div class="col-lg-4">
                            <select class="select2 wdt100" name="reviewer1[]" id="reviewer1" multiple="" data-placeholder="اختر">
                                <option value="0">كل المستخدمين</option>
                                {foreach $allUsers as $user}
                                <option value="{$user.userid}" {if $user.userid|in_array:$reviewersData->reviewer1} selected="selected" {/if}>{$user.employeename}</option>
                                {/foreach}
                            </select>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="reviewer2" class="col-lg-2 control-label">مراجع 2</label>
                        <div class="col-lg-4">
                            <select class="select2 wdt100" name="reviewer2[]" id="reviewer2" multiple="" data-placeholder="اختر">
                                <option value="0">كل المستخدمين</option>
                                {foreach $allUsers as $user}
                                <option value="{$user.userid}" {if $user.userid|in_array:$reviewersData->reviewer2} selected="selected" {/if}>{$user.employeename}</option>
                                {/foreach}
                            </select>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="submit" class="btn btn-primary pull-left " >حفظ الامر</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>


