xns: Roo,
closable : false,
collapsible : false,
- height : 400,
+ height : 200,
modal : true,
resizable : false,
title : "Edit / Create Currency",
{
xtype: 'TextField',
xns: Roo.form,
+ allowBlank : false,
fieldLabel : 'Name',
name : 'curr_name',
width : 200
{
xtype: 'TextField',
xns: Roo.form,
+ allowBlank : false,
fieldLabel : 'Symbol',
name : 'curr_symbol',
width : 200
{
xtype: 'TextField',
xns: Roo.form,
+ allowBlank : false,
fieldLabel : 'Abbr.',
name : 'curr_abbr',
- width : 75
+ width : 200
+ },
+ {
+ xtype: 'Checkbox',
+ xns: Roo.form,
+ boxLabel : 'Yes / No',
+ fieldLabel : 'Base',
+ inputValue : 'true',
+ name : 'curr_base',
+ valueOff : 0
},
{
xtype: 'Hidden',