Skip to content

Commit 6a63822

Browse files
committed
Add missing quotes and commas
1 parent f1f9b38 commit 6a63822

7 files changed

Lines changed: 14 additions & 15 deletions

File tree

docs/access-handler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ If you want to use the access handler class as a standalone component, please ad
108108
Then you can use the facade wherever you want:
109109

110110
```blade
111-
@if (Access:check(['roles' => ['admin, 'editor']]))
111+
@if (Access:check(['roles' => ['admin', 'editor']]))
112112
<p>
113113
<a href='{{ url('admin/posts', [$post->id]) }}'>
114114
Edit this page

docs/alert-messages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Alert::info('Your account is about to expire')
77
->details('Renew now to learn about:')
88
->items([
99
'Laravel',
10-
'PHP,
10+
'PHP',
1111
'And more',
1212
])
1313
->button('Renew now!', '#', 'primary');

docs/field-builder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,14 @@ Using the configuration, you can assign default CSS class for every field accord
240240

241241
```php
242242
'themes' => [
243-
//...
243+
//...
244244
'bootstrap' => [
245245
//...
246246
'field_classes' => [
247247
// type => CSS class or classes
248248
'default' => 'form-control',
249249
'checkbox' => '',
250-
'error' => 'input-with-feedback'
250+
'error' => 'input-with-feedback',
251251
],
252252
```
253253

docs/form-builder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Allow users to set the novalidate option for every form generated with the `Form
77
```php
88
return [
99
//..
10-
'novalidate' => true
10+
'novalidate' => true,
1111
//..
1212
];
1313
```

docs/internationalization.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ You can configure whether you want this package to attempt to translate texts or
44

55
```php
66
//config/html.php
7+
78
return [
89
//...
9-
'translate_texts' => false
10+
'translate_texts' => false,
1011
//...
1112
];
1213
```
@@ -29,7 +30,7 @@ But you can also define it as part of the `attributes` array in the `resources/l
2930
//resources/lang/en/validation.php
3031

3132
'attributes' => [
32-
'name' => 'Full name'
33+
'name' => 'Full name',
3334
],
3435
```
3536

@@ -57,7 +58,7 @@ If the `'translate_texts'` is set to `true`, and you don't specify an explicit t
5758
//resources/lang/en/menu.php
5859

5960
return [
60-
'home' => 'Homepage'
61+
'home' => 'Homepage',
6162
];
6263
```
6364

@@ -68,8 +69,8 @@ return [
6869
'items' => [
6970
'home' => [],
7071
'about' => ['title' => 'Who we are'],
71-
'contact-us' => []
72-
]
72+
'contact-us' => [],
73+
],
7374
];
7475
```
7576

docs/menu-generator.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To generate a menu simply add the following code in your layout's template:
1616
[
1717
'home' => ['url' => ''],
1818
'about' => ['title' => 'Who we are', 'url' => 'about-us'],
19-
'contact-us' => ['full_url' => 'http://contact.us']
19+
'contact-us' => ['full_url' => 'http://contact.us'],
2020
]
2121
```
2222

@@ -169,9 +169,7 @@ The active item will also get the 'active' class, and the items with sub-menus w
169169
You can customize these classes using:
170170

171171
```blade
172-
{!! Menu::make('items')
173-
->setActiveClass('Active')
174-
->setDropDownClass('dropdown') !!}
172+
{!! Menu::make('items')->setActiveClass('Active')->setDropDownClass('dropdown') !!}
175173
```
176174

177175
## Render menus and custom templates

docs/themes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Then go to `config/html.php` and change the theme value:
1414
//config/html.php
1515

1616
return [
17-
'theme' => 'custom-theme'
17+
'theme' => 'custom-theme',
1818
];
1919
```
2020

0 commit comments

Comments
 (0)