engine/app/assets/javascripts/locomotive/views/editable_elements/file_view.js.coffee

12 lines
242 B
CoffeeScript

Locomotive.Views.EditableElements ||= {}
class Locomotive.Views.EditableElements.FileView extends Backbone.View
tagName: 'li'
className: 'file input'
render: ->
$(@el).html(ich.editable_file_input(@model.toJSON()))
return @