Only decorate on new and edit actions if the form is configured for it