+
+ ->large()
+ ->withContents([
+ ['label' => trans('texts.delete_task'), 'url' => 'javascript:model.onDeleteClick()'],
+ ]
+ )->split() !!}
+
+ {!! Button::normal(trans('texts.cancel'))
+ ->appendIcon(Icon::create('remove-circle'))
+ ->withAttributes([
+ 'data-bind' => 'click: onCancelClick, visible: showCancel',
+ ])
+ ->large() !!}
+
+ {!! Button::success(trans('texts.save'))
+ ->large()
+ ->appendIcon(Icon::create('floppy-disk'))
+ ->withAttributes([
+ 'data-bind' => 'click: onSaveClick, css: { disabled: ! formChanged() }',
+ ]) !!}
+
+