From 0952637aeee5170c33ce6cab7cdd4f1422c910ba Mon Sep 17 00:00:00 2001 From: manavo Date: Fri, 17 Oct 2014 15:32:39 +0100 Subject: [PATCH] Update README to include example and better configuration instructions --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index c8a781f..f3e65d3 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ composer require manavo/laravel-bootstrap-forms ~0.0 ## Configure +Make sure you comment out the existing HtmlServiceProvider (Illuminate\Html\HtmlServiceProvider): + ```php 'posts.store' ]) }} + + {{ Form::openGroup('title', 'Title') }} + {{ Form::text('title') }} + {{ Form::closeGroup() }} + + {{ Form::openGroup('status', 'Status') }} + {{ Form::select('status', $statusOptions) }} + {{ Form::closeGroup() }} + +{{ Form::close() }} +```