Sha256: 53797d9ce03e3d7d4cd95a2e7b29f4fdb977aa0d26599ab8e00c1037125e5c65

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

.row
  .col-xs-12
    .box.box-default
      .box-header.with-border
        h3.box-title
          = t('underworld.group.groups')
        .box-tools
          - new_group = underworld.new_dashboard_auth_group_path
          a.btn.btn-success.pull-right.btn-sm href=(new_group)
            i.fa.fa-plus
            = t('underworld.dashboard.index_section.add_button', resource: t('underworld.group.group'))

      .box-body.no-padding
        table.table.table-striped
          tbody
            tr
              th
                |#
              th
                = t("underworld.group.name")
              th
                = t("underworld.group.role")
              th
                = t('created_at')
              th
                = t('underworld.dashboard.actions')

            - @groups.each do |group|
              - edit_target    = underworld.edit_dashboard_auth_group_path(id: group.id)
              - destroy_target = underworld.dashboard_auth_groups_path
              - show_target    = underworld.dashboard_auth_group_path(id: group.id)
              tr id=("group_#{group.id}")

                td
                  = group.id
                td
                  = group.name
                td
                  = group.role
                td
                  = group.created_at
                td.btn-user
                  a.warning.link.pull-left href=(edit_target)
                    i.fa.fa-edit
                  a.link.pull-left href=(destroy_target) data-remote="true" data-method="delete"
                    i.fa.fa-remove.btn-remove
      .box-footer

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
underworld-1.0.0 app/views/underworld/dashboard/groups/index.html.slim