Skip to content

Commit c4af4cd

Browse files
authored
Merge pull request #21 from imanghafoori1/patch-1
Update README.md
2 parents 95605b8 + 38c2b43 commit c4af4cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 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.

0 commit comments

Comments
 (0)