mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
651e06fdb9
Also adds other package config settings however they have not yet been called in ConfigServiceProvider
60 lines
1.7 KiB
PHP
60 lines
1.7 KiB
PHP
<?php return array(
|
|
|
|
// Markup
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// Whether labels should be automatically computed from name
|
|
'automatic_label' => true,
|
|
|
|
// The default form type
|
|
'default_form_type' => 'horizontal',
|
|
|
|
// The framework to be used by Former
|
|
'framework' => 'TwitterBootstrap3',
|
|
|
|
// Validation
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// Whether Former should fetch errors from Session
|
|
'fetch_errors' => true,
|
|
|
|
// Whether Former should try to apply Validator rules as attributes
|
|
'live_validation' => true,
|
|
|
|
// Whether Former should automatically fetch error messages and
|
|
// display them next to the matching fields
|
|
'error_messages' => true,
|
|
|
|
// Checkables
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// Whether checkboxes should always be present in the POST data,
|
|
// no matter if you checked them or not
|
|
'push_checkboxes' => false,
|
|
|
|
// The value a checkbox will have in the POST array if unchecked
|
|
'unchecked_value' => 0,
|
|
|
|
// Required fields
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// The class to be added to required fields
|
|
'required_class' => 'required',
|
|
|
|
// A facultative text to append to the labels of required fields
|
|
'required_text' => '', //'<sup>*</sup>',
|
|
|
|
// Translations
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// Where Former should look for translations
|
|
'translate_from' => 'texts',
|
|
|
|
// An array of attributes to automatically translate
|
|
'translatable' => array(
|
|
'help', 'inlineHelp', 'blockHelp',
|
|
'placeholder', 'data_placeholder',
|
|
'label'
|
|
),
|
|
);
|