summaryrefslogtreecommitdiff
path: root/app/views/users/_fax_accounts.html.haml
blob: 044b8f9698d24d0bef3750f44325ee361150bed2 (plain)
1
2
3
4
5
6
7
-# FaxAccount
-#
- if (can?( :index, FaxAccount ) && user.fax_accounts.count > 0 ) || can?( :create, FaxAccount )
  %h2= t('fax_accounts.index.page_title')
  - if can?( :index, FaxAccount ) && user.fax_accounts.count > 0
    = render "fax_accounts/index_core", {:fax_accounts => user.fax_accounts, :fax_accountable => user}
  = render :partial => 'shared/create_link', :locals => {:parent => user, :child_class => FaxAccount}