Sha256: a472afc5843fb7cc1983349f9c181eac00660af32600d3ceb619104b2f182c1b
Contents?: true
Size: 658 Bytes
Versions: 30
Compression:
Stored size: 658 Bytes
Contents
(function() { Luca.fields.FileUploadField = Luca.core.Field.extend({ form_field: true, template: 'fields/file_upload_field', initialize: function(options) { this.options = options != null ? options : {}; return Luca.core.Field.prototype.initialize.apply(this, arguments); }, afterInitialize: function() { this.input_id || (this.input_id = _.uniqueId('field')); this.input_name || (this.input_name = this.name); this.label || (this.label = this.name); return this.helperText || (this.helperText = ""); } }); Luca.register("file_upload_field", "Luca.fields.FileUploadField"); }).call(this);
Version data entries
30 entries across 30 versions & 1 rubygems