Sha256: c217e7d04e2cceb8b4380987cdde5b9bdd6e630050dcf89ce9a38313dd80383c

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hatio-core-0.0.6 lib/generators/hatio/resource_view/templates/item/ItemForm.js