Sha256: 133b07aaad28735b5e44eed67b5325343fe700efeaa8ff963a58b916dce46970

Contents?: true

Size: 652 Bytes

Versions: 6

Compression:

Stored size: 652 Bytes

Contents

%article
  %h3
    = Amalgam::Models::Group.model_name.human

  %table.table.table-striped
    %tr
      %th=Amalgam::Models::Group.human_attribute_name("name")
      %th
      %th

    - @groups.each do |group|
      %tr
        %td= group.name
        %td= link_to t('amalgam.admin.actions.edit'), edit_admin_group_path(group)
        %td= link_to t('amalgam.admin.actions.destroy'), admin_group_path(group), :confirm => t('amalgam.admin.confirmation.delete', :model => Amalgam::Models::Group.model_name.human), :method => :delete

  %br

  = link_to "#{t('amalgam.admin.actions.new')}#{Amalgam::Models::Group.model_name.human}", new_admin_group_path

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amalgam-2.1.4.1 app/views/amalgam/admin/groups/index.html.haml
amalgam-2.1.4 app/views/amalgam/admin/groups/index.html.haml
amalgam-2.1.3.1 app/views/amalgam/admin/groups/index.html.haml
amalgam-2.1.3 app/views/amalgam/admin/groups/index.html.haml
amalgam-2.1.2 app/views/amalgam/admin/groups/index.html.haml
amalgam-2.1.1 app/views/amalgam/admin/groups/index.html.haml