Sha256: 97142243a72bf40f587c8e9e1cc4f533775e975c9c47c6b0bce8bdeb4f0677c2

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

class Skyline::Editors::Boolean < Skyline::Editors::Editor
  def output_without_errors
    check_box_tag(input_name(self.attribute_names), "1" , field.value(record)) +
    hidden_field_tag(input_name(self.attribute_names), "0") + " " + field.singular_label   
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
westarete-skylinecms-3.0.8.20100329 app/helpers/skyline/editors/boolean.rb
westarete-skylinecms-3.0.8.20100330 app/helpers/skyline/editors/boolean.rb
skylinecms-3.0.8 app/helpers/skyline/editors/boolean.rb
skylinecms-3.0.7 app/helpers/skyline/editors/boolean.rb