view app/view/kommentare/CreateForm.js @ 264:6aaf43f881cd

Fixed Issue17.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 29 Jul 2013 14:38:08 +0200
parents 6527b1598196
children f005f43007b5
line wrap: on
line source
Ext.define('Lada.view.kommentare.CreateForm', {
    extend: 'Lada.view.widgets.LadaForm',
    model: 'Lada.model.Kommentar',
    initComponent: function() {
        this.items = [
            {
                xtype: 'textfield',
                maxLength: 5,
                name: 'erzeuger',
                fieldLabel: 'Erzeuger'
            },
            {
                xtype: 'datefield',
                name: 'kdatum',
                fieldLabel: 'Datum'
            },
            {
                xtype: 'textareafield',
                name: 'ktext',
                fieldLabel: 'Text'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org