{!! Form::open(array('id' => 'frmOji', 'route' => ['backendp.update', $backendp->id], 'class' => 'form account-form', 'method' => 'PUT', 'files' => TRUE )) !!}
<div class="row">
	<div class="col-md-12">

		
		<p>
			{!! Form::label('Judul', 'Judul', array('class' => 'col-md-6 control-label')) !!}
			{!! Form::text('judul', $backendp->judul, array('id' => 'judul', 'class' => 'form-control', 'placeholder' => 'Judul')) !!}
		</p>
		<p>
			{!! Form::label('Konten', 'Konten', array('class' => 'col-md-6 control-label')) !!}
			{!! Form::textarea('konten', $backendp->konten, array('id' => 'konten', 'class' => 'form-control', 'placeholder' => 'Konten')) !!}
		</p>
		<script>
		$(document).ready(function() {
			$('#konten').summernote();
		});
		var konten = $('#konten').summernote()
		</script>
		
	</div>
	{!! Form::hidden('table-list', 'datatable', array('id' => 'table-list')) !!}
</div>
<div class="row">
	<div class="col-md-12">
        <span class="pesan"></span>
        <div id="output"></div>
        <div class="progress">
            <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
                <div id="statustxt">0%</div>
            </div>
        </div>
	</div>
</div>
{!! Form::close() !!}
<script src="{{ URL::asset('resources/vendor/jquery/jquery.form.js') }}"></script>
<script src="{{ URL::asset('ojisatriani/home/ajax_progress.js') }}"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js"> </script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css" />
<script>
    $(document).ready(function(){
        var date_input=$('input[name="tanggal_sk"]'); //our date input has the name "date"
        var container=$('.bootstrap-iso form').length>0 ? $('.bootstrap-iso form').parent() : "body";
        date_input.datepicker({
            format: 'mm/dd/yyyy',
            container: container,
            todayHighlight: true,
            autoclose: true,
        })
    })
</script>
<!-- include summernote css/js -->
<link href="{{ URL::asset('resources/summernote/summernote.min.css') }}" rel="stylesheet">
<script src="{{ URL::asset('resources/summernote/summernote.js') }}"></script>
<link href="{{ asset('ckeditor/plugins/codesnippet/lib/highlight/styles/default.css') }}" rel="stylesheet">
