diff --git a/README.md b/README.md index 121ef76..b883356 100644 --- a/README.md +++ b/README.md @@ -46,13 +46,14 @@ Simply install the package using Composer: composer require bgaze/bootstrap-form ``` -There are a various configuration options available. -Publish the configuration file to customize them: +There are a various configuration options available, publish the configuration file to customize them: ```shell php artisan vendor:publish --provider=Bgaze\BootstrapForm\BootstrapFormServiceProvider ``` +That's it, you can start to build forms. + ## Quick start The `BF` facade provides [many methods](#available-methods-and-directives) to create forms and form inputs. @@ -62,13 +63,13 @@ In this doc, we'll mainly use blade directives as it is probably the most common Following examples are exactly the same: ```html -echo BF::open(['url' => 'some-url']); +echo BF::open(['url' => '/login']); echo BF::text('test', 'My test field'); echo BF::close(); ``` ```html -@open(['url' => 'some-url']) +@open(['url' => '/login']) @text('test', 'My test field') @close ``` @@ -76,7 +77,7 @@ echo BF::close(); They both will produce this HTML code: ```html -