Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ext.define('MyApp.view.Contact', {
- extend: 'Ext.form.Panel',
- xtype: 'contactPage',
- id: 'contactForm',
- config: {
- title: 'Contact Us',
- iconCls: 'user',
- layout:{
- type: 'vbox'
- },
- items: [
- {
- xtype: 'fieldset',
- title: 'Contact Us',
- instructions: 'Email is optional',
- items: [
- {
- xtype: 'textfield',
- label: 'Name',
- name: 'name',
- },
- {
- xtype:'emailfield',
- label: 'Email',
- name: 'email'
- },
- {
- xtype: 'textareafield',
- label: 'Message',
- name: 'message'
- },
- {
- xtype: 'button',
- ui: 'confirm',
- text: 'Submit',
- action: 'submitContact'
- }
- ]
- }
- ]
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement