28. remove-attribute-button
Prev | Chapter 5. Content objects | Next

## 28. remove-attribute-button

remove-attribute-button(attribute, `attribute_name`, `key`, `value,` ..., `key`, `value`)

Inserts a command-button in generated content which can be used to remove specified attribute.

Optional parameter check-required may be set to yes (other allowed value is no) to specify that no button is to be generated when specified attribute is required.

By default, this button has its icon set to `icon(minus)`.

Example:

    remove-attribute-button(text, "Remove id",
                            attribute, id,
                            check-required, yes)

Prev | Up | Next
27. radio-buttons | Home | 29. replace-button