.. _breaking-base-speaking-frontend-classes: ======================================================== Breaking: Form and image partials carry speaking classes ======================================================== Description =========== The frontend templates of this extension carried the classes of the theme they were developed with - cards, list groups, form controls, spacing and display utilities - next to block and element classes of the extension. They carry speaking classes now, named after what an element is and shared by all academic extensions: `ace-item`, `ace-list`, `ace-attribute`, `ace-label`, `ace-value`, `ace-link` and so on. The outermost element of a plugin keeps the class of the plugin. The classes of Bootstrap that a site builds on stay on purpose where the templates render them: the grid classes `row` and `col-*`, the button classes `btn` and `btn-*` and `visually-hidden`. No other theme class is rendered any more, and the extension ships no styles for the new classes. The form field partials (:file:`Partials/Academic/Form/`) and the image partial (:file:`Partials/Academic/Image.html`) are shared by the other academic extensions, so their classes appear in the new job form and in every image of a list item or a page, those of `EXT:academic_persons` included. .. list-table:: :header-rows: 1 * - Element - Before - After * - Field wrapper - the class of the field type, `is-invalid` on error - `ace-field`, `invalid` on error, `ace-text-wrap`, `ace-textarea-wrap`, `ace-select-wrap`, `ace-checkbox-wrap`, `ace-date-wrap` or `ace-upload-wrap` * - Field wrapper class of a type - `form-textfield-wrap`, `form-textarea-wrap`, `form-select-wrap`, `form-check-wrap`, `form-date-wrap`, `form-upload-wrap` - see the line above * - Label - `form-label` - `ace-label`, the required mark `ace-required` * - Field - `form-control`, `form-select` or `form-check-input` - `ace-control` and `ace-text`, `ace-textarea`, `ace-select`, `ace-checkbox`, `ace-date` or `ace-upload` * - Field that failed validation - `is-invalid` - `invalid` * - Messages of a field - `