Sha256: dda98ce87c143a3aec376d4c2c7584ade01bea77158fa3bde19697025bf037e3

Contents?: true

Size: 455 Bytes

Versions: 6

Compression:

Stored size: 455 Bytes

Contents

= form_display_base_errors(form.resource)
.form-inputs
  - form.visible_groups.each do |group|
    - if (fields = group.visible_fields).present?
      %fieldset
        - unless group.name == :default
          %h4= group.label
        - if group.help.present?
          %p= group.help
        - fields.each do |field|
          - unless form.inverse_of_nested_in?(field) # do not show nested field if the target is the origin
            = field.render

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
basepack-1.0.1 app/views/forms/_form_fields.html.haml
basepack-1.0.0 app/views/forms/_form_fields.html.haml
basepack-1.0.0.pre.0 app/views/forms/_form_fields.html.haml
basepack-0.2.0 app/views/forms/_form_fields.html.haml
basepack-0.1.0 app/views/forms/_form_fields.html.haml
basepack-0.0.2 app/views/forms/_form_fields.html.haml