Opportunity html
Jump to navigation
Jump to search
| Line 45: | Line 45: | ||
// Create form elements (two text inputs and the button input, in this example). | // Create form elements (two text inputs and the button input, in this example). | ||
var announcement_title = new OO.ui.TextInputWidget( { | var announcement_title = new OO.ui.TextInputWidget( { | ||
| − | value: ' | + | value: ''}) |
var announcement_provider = new OO.ui.TextInputWidget( { | var announcement_provider = new OO.ui.TextInputWidget( { | ||
| − | value: ' | + | value: '' |
}) | }) | ||
| Line 79: | Line 79: | ||
fieldset.addItems( [ | fieldset.addItems( [ | ||
new OO.ui.FieldLayout( announcement_type, { | new OO.ui.FieldLayout( announcement_type, { | ||
| − | label: ' | + | label: 'Type', |
align: 'top' | align: 'top' | ||
} ), | } ), | ||
Revision as of 18:56, 29 February 2020