File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 249249@stop
250250@section (' main-panel-footer' )
251251 <button class =" uk-button uk-button-primary uk-button-small" type =" submit" >Save</button >
252+ @if ($task -> exists )
253+ <a href =" {{ route (' totem.task.view' , $task ) } }" class =" uk-button uk-button-secondary uk-button-small" >Cancel</a >
254+ @else
255+ <a href =" {{ route (' totem.tasks.all' ) } }" class =" uk-button uk-button-secondary uk-button-small" >Cancel</a >
256+ @endif
252257@stop
253258@section (' main-panel-after' )
254259 </form >
Original file line number Diff line number Diff line change 9292 {{ method_field (' delete' ) } }
9393 <button type =" submit" class =" uk-button uk-button-danger uk-button-small" >Delete</button >
9494 </form >
95+ <a href =" {{ route (' totem.tasks.all' ) } }" class =" uk-button uk-button-secondary uk-button-small" >Cancel</a >
9596 </span >
9697 <execute-button :data-task =" {{ $task } }" url =" {{ route (' totem.task.execute' , $task )} }" button-class =" uk-button-small uk-button-primary" ></execute-button >
9798 </div >
You can’t perform that action at this time.
0 commit comments