Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note

The Form API is required to create the bootstrap look and feel for HTML forms in edit page, like:

Example page using the form apiImage Modified

Basic Idea

We use the concept described by

...

This enables the use of the Form classes directly in the blades, like

Code example for the form apiImage Modified

Functions

NameUsageExample
Form::open()open form 
Form::close()close form 
Form::label()add label text 
Form::input()add plain text input field 
Form::select()create a select box field 
   
TODO  

For more information see the file located under: app/extensions/html/FormBuilder.php

Implementation

All the stuff is located under:

...

FormBuilder: the form builder class


Example

...

: http://blog.stidges.com/post/easy-bootstrap-forms-in-laravel

...