Sha256: 8273d78073c2ef58f84c2dbb0e1fe447a0afc14fb037640cec1395d2b17285cf

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

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

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

            - @groups.each do |group|
              - edit_target = edit_dashboard_auth_group_path(id: group.id)
              - destroy_target = dashboard_auth_groups_path
              - show_target = 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

2 entries across 2 versions & 1 rubygems

Version Path
faalis-2.0.0.rc3 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.0.rc2 app/views/faalis/dashboard/groups/index.html.slim