Mercurial > lada > lada-client
diff app/view/status/CreateForm.js @ 199:30ba9a98d627
Added forms to create a Messstatus
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 08 Jul 2013 16:14:58 +0200 |
parents | |
children | dee3e54a61b1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/view/status/CreateForm.js Mon Jul 08 16:14:58 2013 +0200 @@ -0,0 +1,34 @@ +Ext.define('Lada.view.status.CreateForm', { + extend: 'Lada.view.widgets.LadaForm', + requires : [ + 'Lada.view.widgets.Mst', + 'Lada.view.widgets.Statuswert' + ], + model: 'Lada.model.Status', + initComponent: function() { + this.items = [ + { + xtype: 'mst', + label: 'Erzeuger', + name: 'erzeuger' + }, + { + xtype: 'statuswert', + label: 'Status', + name: 'status' + }, + { + xtype: 'datefield', + label: 'Datum', + name: 'sdatum' + }, + { + xtype: 'textarea', + label: 'Kommentar', + name: 'skommentar' + } + ]; + this.callParent(); + } +}); +