Exemplo n.º 1
0
                <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">
Exemplo n.º 2
0
<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>
Exemplo n.º 3
0
<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>
Exemplo n.º 4
0
                <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">
Exemplo n.º 5
0
                <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>
Exemplo n.º 6
0
?>

                    <?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>