Sha256: 9489a033971f8e5af4cde6359ab0f6000d5b2dcb1822dac84dfed6227ca111c8

Contents?: true

Size: 741 Bytes

Versions: 62

Compression:

Stored size: 741 Bytes

Contents

.property{ class: ('property--required' if field.required?), data: field.options[:html_data_attributes] }
  = label_tag dom_id(block, field.slug), class: 'property__name' do
    = field.name
    - if field.tooltip.present?
      = link_to "##{dom_id(block, field.slug)}_tooltip", data: { tooltip: '' } do
        = inline_svg('workarea/admin/icons/help.svg', class: 'svg-icon svg-icon--small svg-icon--blue', title: t('workarea.admin.content_blocks.tooltips.more_info'))

  - if field.note.present?
    %span.property__note= field.note
  = toggle_button_for "block[data][#{field.slug}]", block.data[field.slug], id: block.id

- if field.tooltip.present?
  .tooltip-content{ id: "#{dom_id(block, field.slug)}_tooltip" }
    %p= field.tooltip

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.27 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.5.4 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.5.3 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.25 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.5.2 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.24 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.5.1 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.23 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.22 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.5.0 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.21 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.5.0.beta.1 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.20 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.19 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.18 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.17 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.16 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.15 app/views/workarea/admin/content_blocks/_boolean.html.haml
workarea-admin-3.4.14 app/views/workarea/admin/content_blocks/_boolean.html.haml