Skip to content

Commit 38c2b43

Browse files
Update README.md
1 parent 1b2b6d5 commit 38c2b43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ You can add a field to a model like this:
7171

7272
```php
7373
$survey->customFields()->create([
74-
'title' => `What is your name?`,
75-
`type` => `text`
74+
'title' => 'What is your name?',
75+
'type' => 'text'
7676
]);
7777
```
7878

79-
Each field can contain the following. More on these later:
79+
Each field can contain the following: (More on these later)
8080

8181
`title` : The title / question of your custom field.
8282
`description` : The description of your field. Useful for providing more context to user filling out fields.
@@ -281,4 +281,4 @@ php artisan vendor:publish --provider="Givebutter\LaravelCustomFields\LaravelCus
281281
The configuration file should now be published in `config/custom-fields.php`. The available options and their usage are explained inside the published file.
282282

283283
## License
284-
Released under the [MIT](https://choosealicense.com/licenses/mit/) license. See [LICENSE](LICENSE.md) for more information.
284+
Released under the [MIT](https://choosealicense.com/licenses/mit/) license. See [LICENSE](LICENSE.md) for more information.

0 commit comments

Comments
 (0)