summaryrefslogtreecommitdiff
path: root/app/views/fax_accounts/show.html.haml
blob: 454ebee44c84ca62035bc05a1b3b9c33c66c5684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- content_for :title, t("fax_accounts.show.page_title")

%p
  %strong= t('fax_accounts.show.name') + ":"
  = @fax_account.name
%p
  %strong= t('fax_accounts.show.email') + ":"
  = @fax_account.email
%p
  %strong= t('fax_accounts.show.days_till_auto_delete') + ":"
  = @fax_account.days_till_auto_delete

= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @parent, :child => @fax_account }

%p
  %a.btn.btn-small{:href => new_fax_account_fax_document_path(@fax_account) }
    %i.icon-print
    %span.hidden-phone
      =t('fax_accounts.index.send_a_fax')

%h2= t('phone_numbers.index.page_title')  
- if @fax_account.phone_numbers.count > 0
  = render "phone_numbers/index_core", :phone_numbers => @fax_account.phone_numbers
  %br
= render :partial => 'shared/create_link', :locals => { :parent => @fax_account, :child_class => PhoneNumber }