aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/GroupDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/GroupDialog.js')
-rw-r--r--web/app/view/GroupDialog.js32
1 files changed, 21 insertions, 11 deletions
diff --git a/web/app/view/GroupDialog.js b/web/app/view/GroupDialog.js
index 01fdc85..9510230 100644
--- a/web/app/view/GroupDialog.js
+++ b/web/app/view/GroupDialog.js
@@ -23,18 +23,28 @@ Ext.define('Traccar.view.GroupDialog', {
items: {
xtype: 'form',
items: [{
- xtype: 'textfield',
- name: 'name',
- fieldLabel: Strings.sharedName,
- allowBlank: false
+ xtype: 'fieldset',
+ title: Strings.sharedRequired,
+ items: [{
+ xtype: 'textfield',
+ name: 'name',
+ fieldLabel: Strings.sharedName,
+ allowBlank: false
+ }]
}, {
- xtype: 'combobox',
- name: 'groupId',
- fieldLabel: Strings.groupParent,
- store: 'Groups',
- queryMode: 'local',
- displayField: 'name',
- valueField: 'id'
+ xtype: 'fieldset',
+ title: Strings.sharedExtra,
+ collapsible: true,
+ collapsed: true,
+ items: [{
+ xtype: 'combobox',
+ name: 'groupId',
+ fieldLabel: Strings.groupParent,
+ store: 'Groups',
+ queryMode: 'local',
+ displayField: 'name',
+ valueField: 'id'
+ }]
}]
}
});