<?php
return [
'create' => [
'title' => 'Create',
'icon' => 'fa fa-plus',
'url' => app('url')->current() . '/create',
'action' => '',
'r' => true
],
'save' => [
'title' => 'Save',
'icon' => 'fa fa-save',
'url' => '#',
'action' => '$( "#action_save" ).click(function() { $( ".box" ).submit(); });',
'r' => true
],
'back' => [
'title' => 'Back',
'icon' => 'fa fa-angle-left',
'url' => app('url')->previous()
],
'edit' => [
'title' => 'Edit',
'icon' => 'fa fa-edit',
'url' => '#',
'r' => true
],
'refresh' => [
'title' => 'Refresh',
'icon' => 'fa fa-refresh',
'url' => '#',
'action' => '$( "#action_refresh" ).click(function() { location.reload(); });',
'r' => true
]
];