Sha256: d8f8346c3e4008d67bc3ad5b433dbc6c1b2d7900105df0c55f2f116efc54321f

Contents?: true

Size: 701 Bytes

Versions: 7

Compression:

Stored size: 701 Bytes

Contents

= content_for :nav_title do
  = @rolables.model_name.plural.titleize

section.section
  .container
    .card
      .card-content = paginate @rolables, views_prefix: 'authz'
      table.table.is-fullwidth.is-striped.is-hoverable
        tbody
          - @rolables.each do |rolable|
            tr.is-clickable[data-url="#{send("#{rolable.model_name.singular}_path", rolable)}"]
              td = rolable.id
              td = rolable.authz_label

              - show_rolable_path = send("#{rolable.model_name.singular}_path", rolable)
              - if authorized_path? show_rolable_path, skip_scoping: true
                td = link_to show_rolable_path do
                  i.fa-chevron-right.fa

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authz-0.0.5 app/views/authz/rolables/index.html.slim
authz-0.0.4 app/views/authz/rolables/index.html.slim
authz-0.0.3 app/views/authz/rolables/index.html.slim
authz-0.0.2 app/views/authz/rolables/index.html.slim
authz-0.0.1 app/views/authz/rolables/index.html.slim
authz-0.0.1.alpha5 app/views/authz/rolables/index.html.slim
authz-0.0.1.alpha4 app/views/authz/rolables/index.html.slim