12 lines
242 B
CoffeeScript
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 @
|