mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 15:07:34 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
| <?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'
 | |
|   ),
 | |
| );
 |