@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | )); |
155 | 155 | |
156 | 156 | $fields->dataFieldByName('Website') |
157 | - ->setAttribute('placeholder', 'http://'); |
|
157 | + ->setAttribute('placeholder', 'http://'); |
|
158 | 158 | |
159 | 159 | $fields->replaceField('Email', EmailField::create('Email')); |
160 | 160 | |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | ); |
165 | 165 | |
166 | 166 | $featured = $fields->dataFieldByName('Featured') |
167 | - ->setDescription('Location will display near the top of the results list'); |
|
167 | + ->setDescription('Location will display near the top of the results list'); |
|
168 | 168 | $fields->insertAfter( |
169 | 169 | $featured, |
170 | 170 | 'CategoryID' |
@@ -28,9 +28,9 @@ |
||
28 | 28 | * @var array |
29 | 29 | */ |
30 | 30 | public $relationCallbacks = array( |
31 | - 'Category.Name' => array( |
|
32 | - 'relationname' => 'Category', |
|
33 | - 'callback' => 'getCategoryByName', |
|
31 | + 'Category.Name' => array( |
|
32 | + 'relationname' => 'Category', |
|
33 | + 'callback' => 'getCategoryByName', |
|
34 | 34 | ), |
35 | 35 | ); |
36 | 36 |