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-3.7.6 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.7.5 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.7.4 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.7.2 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.7.1 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.7.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.6.1 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.6.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.5.2 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.5.1 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.5.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.4.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.3.0 app/views/dorsale/expense_gun/categories/_list.html.slim
dorsale-3.2.0 app/views/dorsale/expense_gun/categories/_list.html.slim