48 lines
1.3 KiB
PHP
48 lines
1.3 KiB
PHP
<?php
|
|
|
|
use Watson\BootstrapForm\Type;
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Form type
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may specify the default form type for the open method. You have
|
|
| the options of Type::HORIZONTAL, Type::VERTICAL and Type::INLINE.
|
|
|
|
|
*/
|
|
|
|
'type' => Type::HORIZONTAL,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Horizontal form default sizing
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may specify the default widths of the columns if you're using
|
|
| the horizontal form type. You can use the Bootstrap grid classes as you
|
|
| wish.
|
|
|
|
|
*/
|
|
|
|
'left_column_class' => 'col-xs-12 col-sm-3 col-md-2',
|
|
'right_column_class' => 'col-xs-12 col-sm-9 col-md-10',
|
|
|
|
'left_column_offset_class' => 'col-sm-9 col-xs-12',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Error output
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may specify the whether all the errors of an input should be
|
|
| displayed or just the first one.
|
|
|
|
|
*/
|
|
|
|
'show_all_errors' => false
|
|
|
|
];
|