Field Display Policy Field Reference ------------------------------------ .. tabularcolumns:: |p{4cm}|p{4cm}|p{7cm}| +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Title | Field Name | Description | +========================+=========================+==========================================================================================================+ | Name * | name | The name that is given to the Field Display Policy. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Description | description | A description for the Field Display Policy. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Target Type Model * | target_type_model | The target model type to which the Field Display Policy applies. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Groups | groups.[n] | The groups that describe groupings of attributes that are displayed together on the user interfcae. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Title * | title | The name of a specific group of attributes. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Display as Fieldset | display_as_fieldset | Render this group as a fieldset in the form. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Number of Columns | num_cols | The number of columns of fields. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Fields | fields.[n[] | Model fields that will form part of the particular group. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Field Overrides | field_overrides.[n] | Field display policy overrides to apply to a model fields. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Field * | field | Name of the model field to override. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Title | title | New title to display for field. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Help Text | help_text | New help text to display for field. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Disabled | disabled | Will set the field to read-only if checked. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+ | Input Type | input_type | Overrides the input type of the field. | +------------------------+-------------------------+----------------------------------------------------------------------------------------------------------+