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 249
249
@stop
250
250
@section (' main-panel-footer' )
251
251
<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
252
257
@stop
253
258
@section (' main-panel-after' )
254
259
</form >
Original file line number Diff line number Diff line change 92
92
{{ method_field (' delete' ) } }
93
93
<button type =" submit" class =" uk-button uk-button-danger uk-button-small" >Delete</button >
94
94
</form >
95
+ <a href =" {{ route (' totem.tasks.all' ) } }" class =" uk-button uk-button-secondary uk-button-small" >Cancel</a >
95
96
</span >
96
97
<execute-button :data-task =" {{ $task } }" url =" {{ route (' totem.task.execute' , $task )} }" button-class =" uk-button-small uk-button-primary" ></execute-button >
97
98
</div >
You can’t perform that action at this time.
0 commit comments