Sha256: 2daa432e5c30123c5407c030a87684cf4376cdc0529549955b254fe234f7fbcb

Contents?: true

Size: 346 Bytes

Versions: 10

Compression:

Stored size: 346 Bytes

Contents

= content_tag :fieldset, { class: 'fields', 'data-object-name' => f.object_name } do
  = f.condition_fields do |c|
    = render 'comable/admin/shared/condition_fields', f: c

  - if f.object.conditions.empty?
    = build_fields f, :condition

  = button_to_add_fields Comable.t('admin.add_search_condition'), f, :condition, class: 'btn btn-link'

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
comable-backend-0.7.1 app/views/comable/admin/shared/_grouping_fields.slim
comable-backend-0.7.0 app/views/comable/admin/shared/_grouping_fields.slim
comable-backend-0.7.0.beta2 app/views/comable/admin/shared/_grouping_fields.slim
comable-backend-0.7.0.beta1 app/views/comable/admin/shared/_grouping_fields.slim
comable-backend-0.6.0 app/views/comable/admin/shared/_grouping_fields.slim
comable_backend-0.5.0 app/views/comable/admin/shared/_grouping_fields.slim
comable_backend-0.4.2 app/views/comable/admin/shared/_grouping_fields.slim
comable_backend-0.4.1 app/views/comable/admin/shared/_grouping_fields.slim
comable_backend-0.4.0 app/views/comable/admin/shared/_grouping_fields.slim
comable_backend-0.3.4 app/views/comable/admin/shared/_grouping_fields.slim