diff --git a/src/Admin/GridFieldMergeAction.php b/src/Admin/GridFieldMergeAction.php
index fab3dc9..92f02a3 100644
--- a/src/Admin/GridFieldMergeAction.php
+++ b/src/Admin/GridFieldMergeAction.php
@@ -101,7 +101,10 @@ class GridFieldMergeAction implements GridField_ColumnProvider, GridField_Action
'data-target' => $prefix . '-target-record-' . $record->ID
]);
- return $dropdown->Field() . $action->Field() . 'move posts to';
+ $action->addExtraClass('btn btn-primary btn-sm blog-merge-action');
+
+ return $dropdown->Field() . $action->Field() .
+ 'Move posts to';
}
return null;
diff --git a/src/Model/Blog.php b/src/Model/Blog.php
index bc82dcc..4938de9 100644
--- a/src/Model/Blog.php
+++ b/src/Model/Blog.php
@@ -354,7 +354,10 @@ class Blog extends Page implements PermissionProvider
);
$members = $this->getCandidateUsers()->map()->toArray();
- $toggleButton = LiteralField::create('ToggleButton', '');
+ $toggleButton = LiteralField::create(
+ 'ToggleButton',
+ ''
+ );
$editorField = ListboxField::create('Editors', 'Editors', $members)
->setRightTitle($toggleButton)
diff --git a/src/Model/BlogPost.php b/src/Model/BlogPost.php
index f013954..b2e4fdf 100644
--- a/src/Model/BlogPost.php
+++ b/src/Model/BlogPost.php
@@ -264,7 +264,8 @@ class BlogPost extends Page
)->setDescription(
_t(
__CLASS__ . '.AdditionalCredits_Description',
- 'If some authors of this post don\'t have CMS access, enter their name(s) here. You can separate multiple names with a comma.'
+ 'If some authors of this post don\'t have CMS access, enter their name(s) here. '.
+ 'You can separate multiple names with a comma.'
)
);
diff --git a/tests/BlogTest.php b/tests/BlogTest.php
index 553597b..364062c 100755
--- a/tests/BlogTest.php
+++ b/tests/BlogTest.php
@@ -360,7 +360,11 @@ class BlogTest extends SapphireTest
$this->fail('The "profile" action should throw a HTTPResponse_Exception when disable_profiles is enabled');
} catch (HTTPResponse_Exception $e) {
- $this->assertEquals(404, $e->getResponse()->getStatusCode(), 'The response status code should be 404 Not Found');
+ $this->assertEquals(
+ 404,
+ $e->getResponse()->getStatusCode(),
+ 'The response status code should be 404 Not Found'
+ );
}
}