Permalink
Browse files

minor #3651 [Reference][Forms] remove the label_attr option which is …

…not available in the button type (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Reference][Forms] remove the label_attr option which is not available in the button type

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

The ``label_attr`` is neither defined in the ``ButtonType`` class nor in the ``BaseType`` class, but in the ``FormType`` class instead. Thus, it can't be used for the ``button`` type.

Commits
-------

5bafc3c remove the label_attr option which is not available in the button type
  • Loading branch information...
weaverryan committed Mar 19, 2014
2 parents 69ac21b + 5bafc3c commit 0fb2c5f87131212480eb5a7bc8795ba1df56e19a
Showing with 0 additions and 3 deletions.
  1. +0 −3 reference/forms/types/button.rst
@@ -15,7 +15,6 @@ A simple, non-responsive button.
| Options | - `attr`_ |
| | - `disabled`_ |
| | - `label`_ |
| | - `label_attr`_ |
| | - `translation_domain`_ |
+----------------------+----------------------------------------------------------------------+
| Overridden options | - `auto_initialize`_ |
@@ -34,8 +33,6 @@ Options
.. include:: /reference/forms/types/options/button_label.rst.inc
.. include:: /reference/forms/types/options/label_attr.rst.inc
.. include:: /reference/forms/types/options/button_translation_domain.rst.inc
Overridden Options

0 comments on commit 0fb2c5f

Please sign in to comment.