<div class="panel-body"> <?php echo bsFormText('title', 'Başlık', array('required' => true, 'value' => $record->title)); ?> <?php echo bsFormSlug('slug', 'Slug', array('required' => true, 'value' => $record->slug)); ?> <?php echo bsFormImage('image', 'Resim', array('value' => $record->image, 'path' => '../public/upload/service/')); ?> <?php echo bsFormTextarea('summary', 'Özet', array('required' => true, 'value' => $record->summary)); ?> <?php echo bsFormEditor('detail', 'Detay', array('required' => true, 'value' => $record->detail)); ?> </div> <div class="panel-footer"> <button class="btn btn-success" type="submit">Kaydet</button> <a class="btn btn-default" href="<?php echo $this->module; ?> /records">Vazgeç</a> </div> </div> </div> <div class="col-md-4">
<div class="row"> <form action="" method="post" enctype="multipart/form-data"> <div class="col-md-8"> <?php echo $this->utils->alert(); ?> <div class="panel panel-default"> <div class="panel-heading"><i class="fa fa-plus-square"></i> Yeni Kayıt Ekle</div> <div class="panel-body"> <?php echo bsFormText('question', 'Soru', array('required' => true)); ?> <?php echo bsFormEditor('answer', 'Cevap', array('required' => true)); ?> </div> <div class="panel-footer"> <button class="btn btn-success" type="submit">Kaydet</button> <button class="btn btn-success" type="submit" name="redirect" value="<?php echo $this->module; ?> /records">Kaydet ve Listeye Dön</button> <a class="btn btn-default" href="<?php echo $this->module; ?> /records">Vazgeç</a> </div> </div>
<div class="row"> <form action="" method="post" enctype="multipart/form-data"> <div class="col-md-8"> <?php echo $this->utils->alert(); ?> <div class="panel panel-default"> <div class="panel-heading"><i class="fa fa-edit"></i> Kayıt Düzenle</div> <div class="panel-body"> <?php echo bsFormText('question', 'Soru', array('required' => true, 'value' => $record->question)); ?> <?php echo bsFormEditor('answer', 'Cevap', array('required' => true, 'value' => $record->answer)); ?> </div> <div class="panel-footer"> <button class="btn btn-success" type="submit">Kaydet</button> <a class="btn btn-default" href="<?php echo $this->module; ?> /records">Vazgeç</a> </div> </div> </div> </form>
<div class="panel-body"> <?php echo bsFormText('title', 'Başlık', array('required' => true, 'value' => $record->title)); ?> <?php echo bsFormSlug('slug', 'Slug', array('required' => true, 'value' => $record->slug)); ?> <?php echo bsFormImage('image', 'Resim', array('value' => $record->image, 'path' => '../public/upload/content/')); ?> <?php echo bsFormTextarea('summary', 'Özet', array('value' => $record->summary)); ?> <?php echo bsFormEditor('detail', 'Detay', array('value' => $record->detail)); ?> </div> <div class="panel-footer"> <button class="btn btn-success" type="submit">Kaydet</button> <a class="btn btn-default" href="<?php echo $this->module; ?> /records">Vazgeç</a> </div> </div> </div> <div class="col-md-4">
<div class="panel-body"> <?php echo bsFormText('title', 'Başlık', array('required' => true)); ?> <?php echo bsFormSlug('slug', 'Slug', array('checked' => true)); ?> <?php echo bsFormImage('image', 'Resim'); ?> <?php echo bsFormTextarea('summary', 'Özet', array('required' => true)); ?> <?php echo bsFormEditor('detail', 'Detay', array('required' => true)); ?> </div> <div class="panel-footer"> <button class="btn btn-success" type="submit">Kaydet</button> <button class="btn btn-success" type="submit" name="redirect" value="<?php echo $this->module; ?> /records">Kaydet ve Listeye Dön</button> <a class="btn btn-default" href="<?php echo $this->module; ?> /records">Vazgeç</a> </div> </div>
?> <?php echo bsFormText('title', 'Başlık', array('required' => true)); ?> <?php echo bsFormSlug('slug', 'Slug', array('checked' => true)); ?> <?php echo bsFormImage('image', 'Resim'); ?> <?php echo bsFormTextarea('summary', 'Özet'); ?> <?php echo bsFormEditor('detail', 'Detay'); ?> </div> <div class="panel-footer"> <button class="btn btn-success" type="submit">Kaydet</button> <button class="btn btn-success" type="submit" name="redirect" value="<?php echo $this->module; ?> /records">Kaydet ve Listeye Dön</button> <a class="btn btn-default" href="<?php echo $this->module; ?> /records">Vazgeç</a> </div> </div>