Sha256: fdc46110bed87d9656d24288a07821a2f53d86154605ac64dbdc98296092e820

Contents?: true

Size: 603 Bytes

Versions: 1

Compression:

Stored size: 603 Bytes

Contents

Ext.define('<%= @bundle %>.view.<%= singular_name %>.<%= class_name %>Item', {
	
	extend : 'Ext.tab.Panel',
	
	requires : [ '<%= @bundle %>.view.<%= singular_name %>.<%= class_name %>Form'],
	
	mixins : { spotlink : 'Frx.mixin.view.SpotLink' },
	
	xtype : '<%= @bundle.downcase %>_<%= singular_name %>_item',
	
	title : T('menu.<%= class_name %>'),
	
	items : [ 
		{ xtype : '<%= @bundle.downcase %>_<%= singular_name %>_form' }<% if(options.use_attachment == 'y') %>,
		{ xtype : 'base_attachment_form' }<% end %><% if(options.use_ext_prop == 'y') %>,
		{ xtype : 'base_property_form' }<% end %>
	]
});

Version data entries

1 entries across 1 versions & 1 rubygems

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