Sha256: a3d58476fdb59b908e6fdd5affee416d1aa1f77c78fe5c71ae6d657780532ad6

Contents?: true

Size: 223 Bytes

Versions: 2

Compression:

Stored size: 223 Bytes

Contents

- boolean ||= "false"

- if editable && f = form_builder
  = f.check_box(attr_name, value: boolean, class: "boolean")

- else
  %p.well
    = f.check_box(attr_name, {value: boolean, class: "boolean", disabled: "disabled"})

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
upmin-admin-0.0.39 app/views/upmin/partials/attributes/_boolean.html.haml
upmin-admin-0.0.38 app/views/upmin/partials/attributes/_boolean.html.haml