Sha256: 3267f238e49574a0f12149fcaed95d25bf708545fe4b2b0032e3199e9b1428a1

Contents?: true

Size: 357 Bytes

Versions: 30

Compression:

Stored size: 357 Bytes

Contents

- values = form.object.class.send(field.method_name).values.map { |v| [t("enumerize.#{form.object.class.name.underscore}.#{field.method_name}.#{v}", default: t("enumerize.defaults.#{field.method_name}.#{v}")), v] }
= form.collection_check_boxes(field.method_name, values, :last, :first, {}, {}) { |i| i.label( class: 'checkbox' ) { i.check_box + i.text } }

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rocket_cms-0.37.1 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.37.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.36.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.35.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.34.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.33.1 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.33.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.32.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.31.1 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.31.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.30.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.29.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.28.0 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.27.8 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.27.7 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.27.6 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.27.5 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.27.4 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.27.3 app/views/rails_admin/main/_enum_check_boxes.html.haml
rocket_cms-0.27.2 app/views/rails_admin/main/_enum_check_boxes.html.haml