Fix Button label in OOUI HTML Form and enable flags
authorFlorian <florian.schmidt.welzow@t-online.de>
Thu, 25 Jun 2015 12:56:05 +0000 (14:56 +0200)
committerFlorian <florian.schmidt.welzow@t-online.de>
Thu, 25 Jun 2015 12:56:05 +0000 (14:56 +0200)
commit1025f0a79c0ac5d02806ca24fc9c54513d63a7cf
treebda46af323edda97a4fe2024dd2fc76512222452
parent79d72b24a00d6de67a550a1635f66ca17a6fd9bb
Fix Button label in OOUI HTML Form and enable flags

An OOUI Button now adds the value as a label of the button, too. Enable
the HTMLForm descriptor to pass flags to the OOUI Button widget, which
defaults to nothing in HTMLButtonField and to 'primary' and 'constructive'
in HTMLSubmitField.

Change-Id: Ibf561453604a830862d4f64819c8418a9458cb12
includes/htmlform/HTMLButtonField.php
includes/htmlform/HTMLSubmitField.php