Sha256: f3d73e4663e107a922bb0745e26d9ffbb75da2bccca9e545830dcb8170184cb7
Contents?: true
Size: 650 Bytes
Versions: 30
Compression:
Stored size: 650 Bytes
Contents
(function() { Luca.fields.HiddenField = Luca.core.Field.extend({ form_field: true, template: 'fields/hidden_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.input_value || (this.input_value = this.value); return this.label || (this.label = this.name); } }); Luca.register("hidden_field", "Luca.fields.HiddenField"); }).call(this);
Version data entries
30 entries across 30 versions & 1 rubygems