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
raimund@497:  * 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',
raimund@498:     requires: [
raimund@498:         'Lada.view.widgets.Mst',
raimund@498:         'Lada.view.widgets.Datetime',
raimund@498:         'Ext.form.field.TextArea'
raimund@498:     ],
raimund@498: 
torsten@111:     model: 'Lada.model.Kommentar',
raimund@491: 
torsten@111:     initComponent: function() {
raimund@491:         this.items = [{
raimund@491:             xtype: 'mst',
raimund@491:             name: 'erzeuger',
raimund@491:             fieldLabel: 'Erzeuger'
raimund@491:         }, {
raimund@491:             xtype: 'datetime',
raimund@491:             name: 'datum',
raimund@491:             fieldLabel: 'Datum'
raimund@491:         }, {
raimund@491:             xtype: 'textareafield',
raimund@491:             name: 'text',
raimund@491:             fieldLabel: 'Text'
raimund@491:         }];
raimund@491:         this.callParent(arguments);
torsten@111:     }
torsten@111: });