Thêm thẻ mới {{Form::bsText('Tên thẻ', 'name', @$tag_html['name'], ['required'=>true])}} {{Form::bsSelect('Vị trí thẻ', 'position', [1=>'Thẻ nằm trong cặp thẻ <head></head>',2=>'Thẻ nằm ngay sau thẻ mở <body>',3=>'Thẻ nằm ngay trước thẻ đóng </body>'], @$tag_html['position'])}} {{Form::bsTextArea('Mô tả', 'description', @$tag_html['description'])}}
Trang áp dụng {{Form::bsRadio('', 'config[type]', ['0'=>'Tất cả các trang','1'=>'Cho trang chỉ định','2'=>'Trang cảm ơn sau khi đặt hàng'], @$tag_html['config']['type'])}}
@if(isset($tag_html['config']['page'])) @foreach($tag_html['config']['page'] as $page)
{{Form::text('config[page][]', $page, ['class'=>'form-control', 'placeholder'=>'Đương dẫn'])}}
@endforeach @endif
{{Form::text('config[page][]', null, ['class'=>'form-control', 'placeholder'=>'Đương dẫn'])}}
@section('scripts') @parent {{ Html::script(config('app.assets_url').'/backend/js/plugins/editors/ace/ace.js') }} @endsection