Beispiel #1
0
            <?php 
echo Form::input('slug', Input::post('slug', isset($cat) ? $cat->slug : ''), array('id' => 'field-slug', 'class' => 'form-control', 'readonly' => 'readonly'));
?>
            <?php 
echo Form::error('slug', $error);
?>
        </div>
    </div>

    <div class="form-group">
        <?php 
echo Form::label(__('common.desc'), 'desc', array('class' => 'col-sm-2 control-label'));
?>
        <div class="col-sm-9">
            <?php 
echo ckeditor_title('desc', htmlspecialchars_decode(Input::post('desc', isset($cat) ? $cat->desc : '')));
?>
            <?php 
echo Form::error('desc', $error);
?>
        </div>
    </div>

    <div class="form-group">
        <?php 
$sides = array('0' => '---', '1' => __('cat.left'), '2' => __('cat.right'));
?>
        <?php 
echo Form::label(__('common.side'), 'side', array('class' => 'col-sm-2 control-label'));
?>
        <div class="col-sm-9">
Beispiel #2
0
echo Form::input('slug', Input::post('slug'), array('id' => 'field-slug', 'class' => 'form-control', 'readonly'));
?>
            <?php 
echo Form::error('slug', $err);
?>
        </div>
    </div>

    <!--description-->
    <div class="form-group">
        <?php 
echo Form::label(__('common.desc'), 'desc', array('class' => 'col-sm-2 control-label'));
?>
        <div class="col-sm-9">
            <?php 
echo ckeditor_title('desc', Input::post('desc'));
?>
            <?php 
echo Form::error('desc', $err);
?>
        </div>
    </div>

    <div class="form-group">
        <?php 
$sides = array('0' => '---', '1' => __('cat.left'), '2' => __('cat.right'));
?>
        <?php 
echo Form::label(__('common.side'), 'side', array('class' => 'col-sm-2 control-label'));
?>
        <div class="col-sm-9">
Beispiel #3
0
echo Form::input('link_youtube', Input::post('link_youtube'), array('class' => 'form-control', 'placeholder' => 'https://www.youtube.com/embed/pLZq3jgE6qA'));
?>
    </div>
</div>

<!--description-->
<div class="form-group">
    <?php 
echo Form::label(__('art.short_desc'), 'desc', array('class' => 'col-sm-2 control-label'));
?>
    <div class="col-sm-9">
        <?php 
//echo Form::textarea('desc', Input::post('desc'), array('class' => 'form-control', 'rows' => 3));
?>
        <?php 
echo ckeditor_title('desc', htmlspecialchars_decode(Input::post('desc')));
?>
        <?php 
echo Form::error('desc', $err);
?>
    </div>
</div>

<div class="form-group">
    <?php 
echo Form::label(__('art.detail'), 'content', array('class' => 'col-sm-2 control-label required'));
?>
    <!--BEGIN ADD CKEDITOR -->
    <div class="form-spacing col-lg-9 col-md-9 col-sm-9">
        <?php 
echo ckeditor('content', htmlspecialchars_decode(Input::post('content')));