<ol class="breadcrumb pull-right">
    <li><a href="<?php echo site_url('admin/dashboard') ?>">Home</a></li>
    <li class="active">About Me</li>
</ol>
<h1 class="page-header">About Me</h1>
<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title">About Me</h3>
    </div>
    <div class="panel-body">
        <?php if (validation_errors()) : ?>
            <div class="form-group">
                <div class="alert alert-danger">
                    <?php echo validation_errors() ?>
                </div>
            </div>
        <?php endif ?>
        <form role="form" class="form-horizontal" role="form" method="post" enctype="multipart/form-data">
            <div class="form-group">
                <label class="col-sm-2 control-label" for="field-1">Name</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Name" name="name" value="<?php echo set_value('name', $item->name) ?>">
                </div>
            </div>
            <div class="form-group-separator"></div>

            <div class="form-group">
                <label class="col-sm-2 control-label" for="field-1">About Me ? </label>

                <div class="col-sm-10">
                    <textarea type="text" class="form-control" placeholder="About Me" name="about"
                              style="height: 200px;"><?php echo set_value('about', $item->about) ?></textarea>
                </div>
            </div>
            <div class="form-group-separator"></div>

            <div class="form-group">
                <label class="col-sm-2 control-label" for="field-1">Image </label>

                <div class="col-sm-8">
                    <input type="file" class="form-control"  name="image">
                </div>
                <div class="col-sm-2">
                    <?php if ($item->image): ?>
                        <img src="<?php echo base_url() ?>/cdn/about/<?php echo $item->image ?>" class="img-inline userpic-32" height="32"/>
                    <?php endif ?>
                </div>
            </div>
            <div class="form-group-separator"></div>
            <div class="form-group">
                <label class="col-sm-2 control-label" for="field-1">#clients</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="number of clients" name="clients" value="<?php echo set_value('clients', $item->clients) ?>">
                </div>
            </div>
            <div class="form-group-separator"></div>
            <div class="form-group">
                <label class="col-sm-2 control-label" for="field-1">#meetings</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="number of meetings" name="meetings" value="<?php echo set_value('meetings', $item->meetings) ?>">
                </div>
            </div>
            <div class="form-group-separator"></div>
            <div class="form-group">
                <label class="col-sm-2 control-label" for="field-1">#sessions</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="number of sessions" name="sessions" value="<?php echo set_value('sessions', $item->sessions) ?>">
                </div>
            </div>
            <div class="form-group-separator"></div>
            <div class="form-group">
                <label class="col-sm-2 control-label" for="field-1">Established years</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Established years" name="established" value="<?php echo set_value('established', $item->established) ?>">
                </div>
            </div>
            <div class="form-group-separator"></div>

            <div class="form-group">
                <label class="col-sm-2 control-label"></label>

                <div class="col-sm-10">
                    <button type="submit" class="btn btn-lime" name="submit"><i class="fa fa-check-circle"></i> Submit</button>
                    <a href="<?php echo site_url('admin/aboutme/manage/1'); ?>" class="btn btn-danger"><i class="fa fa-ban"></i> Cancel</a>
                </div>
            </div>


        </form>

    </div>
</div>

