File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 2222 {{ trans (' backpack::crud.to' ) } } : {{ $history -> newValue () } }
2323 </div >
2424 <div class =" timeline-footer" >
25- {{-- @TODO: Implement form to submit revision restoration --}}
2625 {!! Form:: open (array (' url' => $crud -> route . ' /' . $entry -> getKey (). '/ revisions/' . $history -> id . ' /restore' , ' method' => ' post' )) ! !}
2726 <button type =" submit" class =" btn btn-primary btn-xs restore-btn" data-entry-id =" {{ $entry -> id } }" data-revision-id =" {{ $history -> id } }" onclick =" onRestoreClick(event)" >
2827 <i class =" fa fa-history" ></i > {{ trans (' backpack::crud.restore_this_value' ) } } </button >
@@ -63,7 +62,6 @@ function onRestoreClick(e) {
6362 title: ' {{ trans (' backpack::crud.revision_restored' ) } }'
6463 });
6564 }
66- // @TODO : Implement error handling (i.e. - missing 'revision_id' param and error message)
6765 });
6866 }
6967 </script >
You can’t perform that action at this time.
0 commit comments