Sha256: 28bd666561d943b95bc5706c80234a7921e4bbd9b04e75c2617b776eebf07e8f

Contents?: true

Size: 810 Bytes

Versions: 2

Compression:

Stored size: 810 Bytes

Contents

.row
  #submenu.col-md-3
    .panel.panel-default
      .panel-heading
        h2.panel-title
          = t('activerecord.models.role')
  #content_list.col-md-9
    h1.panel-title
      = t('page.listing', model: t('activerecord.models.role'))
    table.table.table-striped.index
      tr
        th
          = t('activerecord.attributes.role.name')
        th
          = t('activerecord.attributes.role.display_name')
        th
      - @roles.each do |role|
        |  <tr class="line
        = cycle("0", "1")
        | "> 
        td
          = link_to role.name, role
        td
          = link_to role.display_name.localize, role
        td
          = link_to t('page.edit'), edit_role_path(role)
          = link_to t('page.destroy'), role, data: {confirm: t('page.are_you_sure')}, method: :delete

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.2 app/views/roles/index.html.slim
enju_seed-0.3.0.beta.1 app/views/roles/index.html.slim