Sha256: b31d679815919d3bc158858775367904d78a1aa1c976c7947d34debfe8f06903

Contents?: true

Size: 374 Bytes

Versions: 10

Compression:

Stored size: 374 Bytes

Contents

.input-block
  = render layout: 'tenon/fields/base_inline', locals: { f: f, method_name: method_name, opts: opts } do
    = f.super_check_box method_name, opts.merge(class: 'input-block__check-box')

    .input-block__check-box-icon.input-block__checked-icon
      = i('check')
      
  - if opts[:explanation].present?
    .input-block__explanation= raw opts[:explanation]

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tenon-2.1.0 app/views/tenon/fields/_check_box.html.haml
tenon-2.0.8 app/views/tenon/fields/_check_box.html.haml
tenon-2.0.7 app/views/tenon/fields/_check_box.html.haml
tenon-2.0.6 app/views/tenon/fields/_check_box.html.haml
tenon-2.0.5 app/views/tenon/fields/_check_box.html.haml
tenon-2.0.4 app/views/tenon/fields/_check_box.html.haml
tenon-2.0.3 app/views/tenon/fields/_check_box.html.haml
tenon-2.0.2 app/views/tenon/fields/_check_box.html.haml
tenon-2.0.1 app/views/tenon/fields/_check_box.html.haml
tenon-2.0.0 app/views/tenon/fields/_check_box.html.haml