
<div class="portlet box grey-cascade">
    <div class="portlet-body">
        <div class="row">
            <div class="portlet-body form border-gray2 mb-5" >
                <div class="row px-15">

                    <div class="col-md-2">
                        <div class="form-group ">
                            <button type="button" class="btn red btn-block"  id="cancelSelection"
                                    {if $updatedate.cancelled == 1 } disabled {/if}>  Cancel  </button>
                        </div>
                    </div>

                    <div class="col-md-1">
                        <div class="form-group ">
                            <button type="button" class="btn btn-primary btn-block"  id="ReverseCancelSelection"
                                    {if $updatedate.cancelled != 1 } style="display: none;"  {/if}>  Back  </button>
                        </div>
                    </div>

                    <div class="col-md-8 mx-50" id="cancelReasonContainer" {if $updatedate.cancelled != 1 } style="display: none;"  {/if}>
                        <label class="col-md-2 control-label" for="form_control_1">   Reason :  </label>
                        <div class="col-md-10">
                            <select id="CancelReason"  class="form-control selectCancelReason updateItemH"     
                                    data-rowid="{$updatedate.id}"   name="cancel_reason" select-tableName="cancel_reason" 
                                    data-colName="cancel_reason"   data-tableName="embryoslab" >
                                <option value="">choose</option>
                                {foreach  $cancel_reason as $one}
                                <option value="{$one->id}"{if $updatedate.cancel_reason eq $one->id}selected{/if}>{$one->name}</option>
                                {/foreach}
                                <option value="-2" class="deleteoptincompo">Delete</option>
                            </select>
                        </div>
                    </div>


                </div>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</div>

