Sha256: 344da84bebe8bf0cada7b0bd9cd034e1cf28eb21ce7e0693878e9cea472db902

Contents?: true

Size: 1.52 KB

Versions: 15

Compression:

Stored size: 1.52 KB

Contents

.row
  .col-xs-12
    .box.box-default
      .box-header.with-border
        h3.box-title
          = t('faalis.group.groups')
        .box-tools
          - new_group = faalis.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    = faalis.edit_dashboard_auth_group_path(id: group.id)
              - destroy_target = faalis.dashboard_auth_groups_path
              - show_target    = faalis.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

15 entries across 15 versions & 1 rubygems

Version Path
faalis-2.2.0.pre.rc1 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.2.1 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.2.0 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.1.1 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.1.0 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.8 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.7 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.5 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.4 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.3 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.1 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.0 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.0.rc6 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.0.rc5 app/views/faalis/dashboard/groups/index.html.slim
faalis-2.0.0.rc4 app/views/faalis/dashboard/groups/index.html.slim