Sha256: 5d3f607b2e6ed4211d526966daad4306d36c4c33bdb473f7f37b4e069574c35a

Contents?: true

Size: 664 Bytes

Versions: 1

Compression:

Stored size: 664 Bytes

Contents

.form-bulk-edit
  = form.render_form do

    %h3 Bulk edit for #{form.collection.count} items

    = 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

    .form-actions
      .pull-right
        = form.render_actions

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
basepack-0.0.2 app/views/forms/_bulk_edit.html.haml