Skip to content

Commit

Permalink
Update checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
iConcept authored and iConcept committed Mar 19, 2017
1 parent fc2b1c1 commit 6216e93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/elements/table.blade.php
Expand Up @@ -76,15 +76,15 @@
} );
t_{{ $special_id }} = $('#{{ $special_id }}').DataTable({
"sDom": "<'dt-toolbar'<'col-lg-12 align-right'B>r>"+
"dom": "<'dt-toolbar'<'col-lg-12 align-right'B>r>"+
"<'autooverflow't>"+
"<'dt-toolbar-footer'<'col-sm-6 col-xs-12 hidden-xs'i><'col-xs-12 col-sm-6'p>>",
"autoWidth" : true,
"oLanguage": {
"sSearch": '<span class="input-group-addon"><i class="glyphicon glyphicon-search"></i></span>'
},
buttons: [
'copy', 'csv', 'excel', 'pdf'
'copy', 'csv', 'excel', 'pdf', 'colvis'
],
@if (count($number_cols) > 0)
"columnDefs": [
Expand Down
1 change: 1 addition & 0 deletions src/views/form/bscheckbox.blade.php
Expand Up @@ -7,6 +7,7 @@
$attrs = array_merge($attrs, $attribute);
}
?>
<input type='hidden' value='0' name='{{ $name }}'>
{{ Form::checkbox($name, 1, ($value == 1 ? true : false), $attrs) }}
{{ $title }}
</label>
Expand Down

0 comments on commit 6216e93

Please sign in to comment.