1 class Pettanr.Views.ResourcePicture.Credit extends Backbone.View
\r
5 initialize: (options) ->
\r
7 @with_icon = options.with_icon
\r
8 @url = @item.url + '/credit'
\r
13 p = @item.credit_icon_view()
\r
14 this.$el.append(p.render().el)
\r
16 f = (data, status) ->
\r
17 _this.$el.append(data)
\r
18 rb = new Tag.RowBreak()
\r
19 _this.$el.append(rb.render().el)
\r
20 $.get(@url, null, f, 'html')
\r