Sha256: 78bcfa84215ca763136b82cb6b0f2bfb9308b554b9c4923a972237b7d2d64538

Contents?: true

Size: 407 Bytes

Versions: 35

Compression:

Stored size: 407 Bytes

Contents

.repeater-field{ class: ('error' if f.object.errors[field.name].present?) }
  %table
    %tbody
      = f.fields_for field.name, field.value do |s|
        - field.fields.each do |key, sub_field|
          %tr
            %th= s.label sub_field.name, sub_field.label
            %td= render_field sub_field, s

- if f.object.errors[field.name].present?
  %small.error= f.object.errors[field.name].join(', ')

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
push_type_admin-0.12.1 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.12.0 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.12.0.beta.1 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.11.2 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.11.1 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.11.0.beta.2 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.11.0.beta.1 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.10.4 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.10.3 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.10.2 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.10.1 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.10.0 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.10.0.beta.5 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.10.0.beta.3 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.9.5 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.9.3 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.9.2 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.9.1 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.9.0 app/views/push_type/fields/_structure.html.haml
push_type_admin-0.9.0.beta.4 app/views/push_type/fields/_structure.html.haml