credit = new Pettanr.View.Credit(picture, @options)\r
@listenTo(credit, 'click:icon', @click_credit_icon)\r
this.$el.append(credit.render().el)\r
+ fail: (response, opt) =>\r
+ @open_error_dialog(response, opt)\r
})\r
\r
click_credit_icon: (item) ->\r