Sha256: 4247e4c2b13f9d921f1c1829b8cbbc7f1a3be64b97adc9a4e83104a01b8f2e4a

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

Ext.define('<%= @bundle %>.view.<%= singular_name %>.<%= class_name %>Form', {
	
	extend : 'Ext.form.Panel',
	
	xtype : '<%= @bundle.downcase %>_<%= singular_name %>_form',
		
	autoScroll : true,
	
	defaults : { xtype : 'textfield', anchor : '100%' },
	
	<%= Hatio::Generators::ResourceViewUtil.generate_form(@domain, "#{singular_name}", @columns, options, "\t\t") %>,
	
	dockedItems: [ {
		xtype: 'controlbar',
		items: ['->', 'back', 'save', 'delete', 'close']
	} ]
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hatio-core-0.0.6 lib/generators/hatio/resource_view/templates/detail/DetailForm.js