<!-- Start right content -->
<div class="content-page">
    <!-- ============================================================== -->
    <!-- Start Content here -->
    <!-- ============================================================== -->
    <div class="content">
        <!-- Page Heading Start -->
        <?php /*<div class="page-heading">
            <h1><i class='fa fa-file'></i> <?php echo $viewTitle;?></h1>
            <h3><?php echo $viewTitle;?></h3>
        </div>*/?>
        <!-- Page Heading End-->

        <div class="row">

            <div class="col-sm-12 portlets">

                <div class="widget">
                    <div class="widget-header transparent">
                        <div class="data-table-toolbar">
                            <div class="row">
                                <div class="col-md-4">
                                    <h2><strong> <?php echo $item->subeadi;?> Kaydını </strong> güncelliyorsunuz...</h2>
                                </div>
                                <div class="col-md-8">
                                    <div class="toolbar-btn-action">
                                        <a href="<?php echo base_url("subeler");?>" class="btn btn-red-1"><i class="fa fa-list"></i> <?php echo $viewTitle;?> Liste</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="widget-content padding">
                        <div id="basic-form">
                            <form role="form" action="<?php echo base_url("subeler/guncelleformKaydet");?>" method="post" enctype="multipart/form-data">
                                <div class="form-group">
                                    <h4><strong>Şube Adı</strong> </h4>
                                    <input type="text" class="form-control" name="title" value="<?php echo $item->subeadi;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("title");?></small>
                                    <?php }?>
                                </div>
                                <div class="form-group">
                                    <h4><strong>Adres</strong> </h4>
                                    <textarea class="form-control" name="adres"><?php echo $item->adres;?></textarea>
                                </div>
                                <div class="form-group">
                                    <h4><strong>Telefon</strong> </h4>
                                    <input type="text" class="form-control" name="phone1" value="<?php echo $item->telefon;?>">
                                </div>
                                 <div class="form-group">
                                    <h4><strong>Telefon 2</strong> </h4>
                                    <input type="text" class="form-control"  name="phone2" value="<?php echo $item->telefon2;?>">
                                </div>
                                 <div class="form-group">
                                    <h4><strong>Telefon 3</strong> </h4>
                                    <input type="text" class="form-control" name="phone3" value="<?php echo $item->telefon3;?>">
                                </div>
                                <div class="form-group">
                                    <label><h4><strong>E-Posta</strong> </h4></label>
                                    <textarea class="form-control" name="eposta"><?php echo $item->eposta;?></textarea>
                                </div>
                                <div class="form-group">
                                    <label><h4><strong>Faks</strong> </h4></label>
                                    <textarea class="form-control" name="faks"><?php echo $item->faks;?></textarea>
                                </div>


                                <div class="form-group pull-right">
                                    <button type="submit" class="btn btn-info">Kaydet</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>

            </div>

        </div>
        <?php $this->load->view("includes/footer");?>
    </div>
    <!-- ============================================================== -->
    <!-- End content here -->
    <!-- ============================================================== -->

</div>
<!-- End right content -->