Sha256: 45f9fe3d0de846ae79985abf97630f93aecf4b30d9a874224bc1dce84b04bed0

Contents?: true

Size: 235 Bytes

Versions: 25

Compression:

Stored size: 235 Bytes

Contents

.checkbox
  %label{ style: 'display: block;' }
    = form.send field.view_helper, field.method_name, field.html_attributes.reverse_merge({ value: field.form_value, checked: field.form_value.in?([true, '1']), required: field.required})

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
rails_admin-2.3.1 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.3.0 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.2.1 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.2.0 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.1.1 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.1.0 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.0.2 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-1.4.3 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.0.1 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.0.0 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.0.0.rc app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-2.0.0.beta app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-1.4.2 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-1.4.1 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-1.4.0 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-1.3.0 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-1.2.0 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-1.1.1 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-1.1.0 app/views/rails_admin/main/_form_boolean.html.haml
rails_admin-1.0.0 app/views/rails_admin/main/_form_boolean.html.haml