Sha256: c87e4d4a48e75f19b910637d2fa7c4f8cc01732a3e1666c000699147ffdac91c

Contents?: true

Size: 1.21 KB

Versions: 10

Compression:

Stored size: 1.21 KB

Contents

.abstractor_abstractions_ungrouped
  - ungrouped_subjects = about.class.abstractor_subjects(grouped: false, namespace_type: namespace_type, namespace_id: namespace_id)
  - if ungrouped_subjects.any?
    %fieldset
      .abstractor_abstractions_header
        .abstractor_abstraction_schema_name
          %b Name
        .abstractor_abstraction_value
          %b Value
        .abstractor_suggestions
          .abstractor_suggestion_values
            %b Suggestions
          .abstractor_suggestion_status
            %b Status
      .clear
      .abstractor_abstractions_body
        - ungrouped_subjects.each_with_index do |ungrouped_subject, index|
          - abstractor_abstractions = ungrouped_subject.abstractor_abstractions.not_deleted.where(:about_id => about.id)
          - abstractor_abstractions.each do |abstractor_abstraction|
            %div{ class: "abstractor_abstraction #{Abstractor::Utility.dehumanize(abstractor_abstraction.abstractor_subject.abstractor_abstraction_schema.predicate)} #{'abstractor_bottom_border' if index < ungrouped_subjects.length - 1}" }
              = render :partial => 'abstractor/abstractor_abstractions/fields', :locals => {:abstractor_abstraction => abstractor_abstraction}
.clear

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
abstractor-4.2.2 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml
abstractor-4.2.1 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml
abstractor-4.2.0 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml
abstractor-4.1.5 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml
abstractor-4.1.4 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml
abstractor-4.1.3 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml
abstractor-4.1.2 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml
abstractor-4.1.1 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml
abstractor-4.1.0 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml
abstractor-4.0.2 app/views/abstractor/abstractor_abstractions/_ungrouped_abstractions_list.html.haml