<!-- Start right content -->
<div class="content-page">
    <!-- ============================================================== -->
    <!-- Start Content here -->
    <!-- ============================================================== -->
    <div class="content">

        <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 $gallery_info->title;?> Kaydını </strong> güncelliyorsunuz...</h2>
                                </div>
                                <div class="col-md-8">
                                    <div class="toolbar-btn-action">
                                        <a href="<?php echo base_url("haberler");?>" 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("galeri/videoguncelleformKaydet/$item->id/$item->gallery_id");?>" method="post">

                                 <div class="form-group">
                                    <h4><strong>Video Adı</strong> </h4>
                                    <input type="text" class="form-control" placeholder="Video Adı" name="videoadi" value="<?php echo $item->videoadi;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("videoadi");?></small>
                                    <?php }?>
                                </div>

                                <div class="form-group">
                                    <h4><strong>URL</strong> </h4>
                                    <input type="text" class="form-control" placeholder="Başlık" name="url" value="<?php echo $item->url;?>">
                                    <?php if (isset($form_hatasi)) {?>
                                        <small class="pull-right input-form-error"><?php echo form_error("url");?></small>
                                    <?php }?>
                                </div>


                                <div class="form-group">
                                    <button type="submit" class="btn btn-success">Kaydet</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>

            </div>

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

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