<div class="col-sm-12 row" style="height: 90px" >
    <div class="form-group input-group col-sm-10 col-sm-offset-1" id="textArea" style="display: block">
        <textarea  id="post_detail" class="form-control"  rows="2" 
                   placeholder="Type your alert here.." aria-describedby="basic-addon1" 
                   style="width:100%;float:right;"><?php echo $note_alert_value->post_details; ?></textarea>

    </div>
    <div class="col-sm-12 text-center">
        <span id="post_detail_error" style="color:red"></span>
    </div>
</div>
<div class="col-sm-12">
    <div class="col-sm-3 col-sm-offset-1 text-left" style="padding-top: 10px;font-size: 15px">
        <a href="javascript:void(0)" onclick="getPublicationStatus('1')"><i class="fa  fa-globe" title="Public"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="javascript:void(0)" onclick="getPublicationStatus('2')"><img src="<?php echo base_url() ?>image/dashboard-tt-icon.png" title="TT User" alt="TT User"></a>&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="javascript:void(0)" onclick="getPublicationStatus('4')"><i class="fa  fa-users" title="Group"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="javascript:void(0)" onclick="getPublicationStatus('3')"><i class="fa  fa-link" title="Link"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;

    </div>
    <div class="col-sm-8 text-left" style="padding-top: 10px;font-size: 16px;" id="View_User">
        <span id="status_green" style="color: #80c12c">Publication status:</span>
        <span id="status_red" style="color: #a70b0c"></span>
        <input type="hidden" id="post_publication_status" value="<?php echo $note_alert_value->post_publication_status; ?>">
    </div>
</div>

<div class="form-group col-sm-12" style="margin: 10px 0 0 38px">
    <div class="form-group col-sm-8">
        <span id="GroupForm" style="display: none">
            <input class="col-sm-12" type="hidden" name="to_address" id="to_address" value="" >
            <select name="tokenize_placeholder" style="width: 280px;padding: 8px;" id="tokenize_placeholder" 
                    data-errormessage-value-missing="Group Name is Required!"
                    class="tokenize-sample validate[]"
                    title="" 
                    multiple="multiple" style="margin: 0px; padding: 0px; border: 0px; display: none;">
                        <?php
                        foreach ($all_approved_group as $value1) {
                            ?>
                    <option 
                    <?php
                    if (in_array($value1->group_id, $selected_group_id)) {
                        echo 'selected';
                    }
                    ?>
                        value="<?php echo $value1->group_id ?>"><?php echo $value1->group_name ?></option>
                    <?php }
                    ?>
            </select>
        </span>
        <span id="group_error" style="color:red"></span>
    </div>
    <div class="col-sm-3 ">
        <div class="col-sm-3" style="">
            <button onclick="cancelUpdateNoteAlert('<?php echo base_url() . 'cancel-update-note-alert' ?>', '<?php echo $note_alert_value->post_id ?>')"
                    class="btn btn-success">
                <i class="fa fa-times"
                   title="cancel"></i>
            </button>
        </div>
        <div class="col-sm-9 pull-right" style="padding-left: 30px;">
            <button type="button"
                    onclick="return updateNoteAlert('<?php echo base_url() . 'post/update_note_alert/' . $note_alert_value->post_id; ?>', '<?php echo $note_alert_value->post_id ?>')"
                    class="btn btn-success  " id="btn"> 
                <i class="fa fa-save"></i>     
            </button>
        </div>
    </div>
</div>
<div class="col-sm-12"><hr><br></div>