torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out torsten@472: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@342: /* torsten@342: * Formular to create and edit a Kommentar torsten@342: */ torsten@111: Ext.define('Lada.view.kommentare.CreateForm', { torsten@111: extend: 'Lada.view.widgets.LadaForm', torsten@111: model: 'Lada.model.Kommentar', torsten@111: initComponent: function() { torsten@111: this.items = [ torsten@111: { torsten@266: xtype: 'mst', torsten@111: name: 'erzeuger', torsten@111: fieldLabel: 'Erzeuger' torsten@111: }, torsten@111: { torsten@276: xtype: 'datetime', raimund@490: name: 'datum', torsten@111: fieldLabel: 'Datum' torsten@111: }, torsten@111: { torsten@111: xtype: 'textareafield', raimund@490: name: 'text', torsten@111: fieldLabel: 'Text' torsten@111: } torsten@111: ]; torsten@111: this.callParent(); torsten@111: } torsten@111: });