 				collection: @image_collection
 				child_control: (model) ->
 					console.log "foo"
-					new ImageItem({ model: model })
+					new ImageListItem({ model: model })
 
 		on_render: ->
 			el = @collection_controller.render().el

		initialize: ->
			super
			tabs = [
				{ a: "#", label: "Meta", page: new EditGalleryView({ model: @model }) },
				{ a: "#", label: "Images", page: new GalleryImagesView({ model: @model }) }
			]
			@tabs_controller = new TabsController
				tabs: tabs

			@$(".editor").empty().append(el)


	class GalleryInfoEditor extends CoffeeBar.TemplateController
		events:
			"click .btn-ok": "do_submit"
			"click .btn-cancel": "do_cancel"
