Commit d502e40d authored by Dietmar Maurer's avatar Dietmar Maurer

remove fieldset from UserEdit

We should implement the fielset option in InputPanel instead (if we really want to use fieldsets)
parent 360018e2
......@@ -60,49 +60,40 @@ Ext.define('PVE.dc.UserEdit', {
format: 'Y-m-d',
submitFormat: 'U',
fieldLabel: 'Expiration'
},
{
xtype: 'pvecheckbox',
fieldLabel: 'Enable',
name: 'enable',
uncheckedValue: 0,
defaultValue: 1
}
];
var column2 = [
{
xtype: 'fieldset',
title: 'Personal Information',
defaultType: 'textfield',
layout: 'anchor',
defaults: {
anchor: '100%'
},
items: [
{
xtype: 'textfield',
name: 'firstname',
fieldLabel: 'First Name'
},
{
xtype: 'textfield',
name: 'lastname',
fieldLabel: 'Last Name'
},
{
xtype: 'textfield',
name: 'email',
fieldLabel: 'Email',
vtype: 'email'
},
{
xtype: 'textfield',
name: 'comment',
fieldLabel: 'Comment'
}
]
}
];
if (!me.create) {
column1.push({
xtype: 'pvecheckbox',
fieldLabel: 'Enable',
name: 'enable',
uncheckedValue: 0
});
}
if (me.create) {
column1.splice(1,0,{
xtype: 'pveRealmComboBox',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment