Sha256: bf0e1e484f90bbd815430e526d2829692628ef089e45446a10653a907fd1e2d0

Contents?: true

Size: 1.55 KB

Versions: 4

Compression:

Stored size: 1.55 KB

Contents

- abstractor_abstraction_group ||= @abstractor_abstraction_group

.abstractor_abstraction_group
  - abstractor_abstraction_group.abstractor_abstractions.not_deleted.joins(:abstractor_subject => :abstractor_subject_group_member).order('abstractor_subject_group_members.display_order').each do |abstractor_abstraction|
    %div{ class: "abstractor_abstraction #{Abstractor::Utility.dehumanize(abstractor_abstraction.abstractor_subject.abstractor_abstraction_schema.predicate)}" }
      = render :partial => 'abstractor/abstractor_abstractions/fields', :locals => {:abstractor_abstraction => abstractor_abstraction}

  .abstractor_abstraction_actions
    = link_to 'Not applicable group ', Abstractor::UserInterface.abstractor_relative_path(abstractor.abstractor_abstraction_group_path(abstractor_abstraction_group, abstractor_abstraction_value: 'not applicable')), :confirm => 'Are you sure?', :method => :put, :class => "icon_link update_link", :remote => true
    %br
    = link_to 'Unknown group ', Abstractor::UserInterface.abstractor_relative_path(abstractor.abstractor_abstraction_group_path(abstractor_abstraction_group, abstractor_abstraction_value: 'unknown')), :confirm => 'Are you sure?', :method => :put, :class => "icon_link update_link", :remote => true
    - if abstractor_abstraction_group.removable?
      %br
      = link_to 'Delete group', Abstractor::UserInterface.abstractor_relative_path(abstractor.abstractor_abstraction_group_path(abstractor_abstraction_group)), :confirm => 'Are you sure?', :method => :delete, :class => "icon_link delete_link", :remote => true
  %hr

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
abstractor-1.0.22 app/views/abstractor/abstractor_abstraction_groups/_form.html.haml
abstractor-1.0.20 app/views/abstractor/abstractor_abstraction_groups/_form.html.haml
abstractor-1.0.19 app/views/abstractor/abstractor_abstraction_groups/_form.html.haml
abstractor-1.0.18 app/views/abstractor/abstractor_abstraction_groups/_form.html.haml