{!! Form::open(['method' => 'delete', 'route' => ['bbs.admin.destroy', $board->id],'style'=>'display:inline']) !!}
{!! Form::close() !!}
{{ Form::button('Hit Me', array('class' => 'btn')) }}
button{!! Form::submit('delete', ['class' => 'btn btn-danger btn-xs', ]) !!}
{!! Form::number('lists', value, [ 'class' => 'form-control', 'id' => 'lists', ]) !!}
{!! Form::text('lists', isset($cfg) ? $cfg->lists : old('lists'), [ 'class' => 'form-control', 'id' => 'lists', 'placeholder' => '',]) !!}
{!! Html::link(route('bbs.index', [$board->table_name, 'urlParams='.$urlParams->enc]), 'view', array('class' => 'btn btn-default btn-xs')) !!}
{{ Form::hidden('invisible', 'secret') }}
<script>
$(function(){
$(".btn-delete").click(function(){
$this = $(this).parents(".data-row");
var board_id = $this.attr("user-attr-board-id");
if(confirm('삭제하시겠습니까?')){
$.ajax({
url: '/bbs/admin/'+board_id+'/delete',
type: 'DELETE',
data:{
'_token': $('input[name=_token]').val(),
},
success: function(result) {
// Do something with the result
$this.remove();
}
});
}
})
})
</script>
<a href="javascript:popView('{{ route('admin.calculate.users', ['siteKey='.$siteKey.'edate='.$request->edate]) }}')">
<a href="{{ route('admin.calculate.users', ['siteKey='.$siteKey.'edate='.$request->edate]) }}">