Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
typo fix BoostrapVersion β†’ BootstrapVersion, Vertical β†’ VERTICAL_MODE
  • Loading branch information
chemix authored and f3l1x committed May 20, 2024
1 parent f4a182f commit 4ae7516
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ It has all the features of this library pre-configured and extends

```php
$form = new BootstrapForm;
$form->renderMode = RenderMode::Vertical;
$form->renderMode = RenderMode::VERTICAL_MODE;
```

It will behave pretty much the same as the default Nette form, with the exception of not grouping buttons.
Expand All @@ -68,11 +68,11 @@ That feature would only add unnecessary and deceiving overhead to this library,
enormous line

#### Bootstrap versions support
1. **^4** (`Enums\BoostrapVersion::V4`) version 4 mode (default)
2. **^5** (`Enums\BoostrapVersion::V5`) version 5 mode
1. **^4** (`Enums\BootstrapVersion::V4`) version 4 mode (default)
2. **^5** (`Enums\BootstrapVersion::V5`) version 5 mode

```php
BootstrapForm::switchBootstrapVersion(Enums\BoostrapVersion::V5)
BootstrapForm::switchBootstrapVersion(Enums\BootstrapVersion::V5)
$form = new BootstrapForm;
```

Expand Down

0 comments on commit 4ae7516

Please sign in to comment.