+
Skip to content

ankalus/html

 
 

Repository files navigation

Forms & HTML

License

It is fork of popular Laravel Collective for Laravel five.

Some examples:

{!! Bootstrap::open(array('url' => 'foo/bar', 'formType' => 'horizontal')) !!}
{!! Bootstrap::text('test',null,array('label' => 'Laravel')) !!}
{!! Bootstrap::number('test1',null,array('label' => 'Laravel')) !!}
{!! Bootstrap::password('test1',array('label' => 'Laravel')) !!}
{!! Bootstrap::checkbox('name', 'value') !!}
{!! Bootstrap::checkboxes('namea', array('value1' => 'Test1','value2' => 'Test2'), array('value1','value2'), array('label' => 'Leopard')) !!}
{!! Bootstrap::radios('namea', array('value1' => 'Test1','value2' => 'Test2'), 'value2', array('label' => 'Leopard')) !!}
{!! Bootstrap::select('animal', array('Cats' => array('leopard' => 'Leopard'),'Dogs' => array('spaniel' => 'Spaniel') )) !!}
{!! Bootstrap::select('animal', array('leopard' => 'Leopard','spaniel' => 'Spaniel' )) !!}
{!! Bootstrap::textarea("test") !!}
{!! Bootstrap::submit("Test") !!}
{!! Bootstrap::button("Test", array('pattern' => 'primary', 'disabled' => 'disabled')) !!}
{!! Bootstrap::close() !!}

Later I will add detailed comments and documentation. If you want to contribute, welcome ;-)

Official documentation for Forms & Html for The Laravel Framework can be found at the LaravelCollective website.

About

HTML and Form Builders for the Laravel Five Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载