Sha256: bb59c8f15e3f4ec448076c7d65f3c651b7b21b6ac8a72bf4e5411195460cf5d1
Contents?: true
Size: 966 Bytes
Versions: 35
Compression:
Stored size: 966 Bytes
Contents
- if policy(@expense).update? = update_button dorsale.edit_expense_gun_expense_path(@expense) - if policy(@expense).copy? = copy_button dorsale.copy_expense_gun_expense_path(@expense) - if policy(@expense).submit? = bs_button dorsale.submit_expense_gun_expense_path(@expense), action: :submit, method: "patch", confirm: true, icon: :check, class: "btn btn-xs btn-primary" - if policy(@expense).accept? = bs_button dorsale.accept_expense_gun_expense_path(@expense), action: :accept, method: "patch", confirm: true, icon: :check, class: "btn btn-xs btn-success" - if policy(@expense).refuse? = bs_button dorsale.refuse_expense_gun_expense_path(@expense), action: :refuse, method: "patch", confirm: true, icon: :ban, class: "btn btn-xs btn-danger" - if policy(@expense).cancel? = bs_button dorsale.cancel_expense_gun_expense_path(@expense), action: :cancel, method: "patch", confirm: true, icon: :times, class: "btn btn-xs btn-warning" = print_button
Version data entries
35 entries across 35 versions & 1 rubygems