Sha256: 160756addbfbe88928be90ed0931b3101ad571a3aa00f3907cae1b9cc8f21ee1

Contents?: true

Size: 876 Bytes

Versions: 54

Compression:

Stored size: 876 Bytes

Contents

table.table.default#category
  thead
    tr
      th.actions.category-name
        = ::Dorsale::ExpenseGun::Category.t(:name)
      th.actions.category-code
        = ::Dorsale::ExpenseGun::Category.t(:code)
      th.actions.category-vat_deductible
        = ::Dorsale::ExpenseGun::Category.t(:vat_deductible)
      th.actions.category-action
        = "Action"

  tbody
    - @categories.each do |category|
      tr.actions.category
        td.actions.category-name
          = category

        td.actions.category-code
          = category.code

        td.actions.category-vat_deductible
          - if category.vat_deductible?
            = icon(:check)
          - else
            = icon(:remove)

        td.actions.category-action
          - if policy(category).create?
            = update_button edit_expense_gun_category_path(category), id: "edit-#{category.id}"

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
dorsale-4.0.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.20.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.19.1 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.19.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.18.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.17.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.16.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.15.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.11 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.10 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.9 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.8 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.7 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.6 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.5 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.4 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.3 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.2 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.1 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.14.0 app/views/dorsale/expense_gun/categories/_list.html.slim