Sha256: 2784c837f1380dd87d847119abc989797dd8e87bf320ec9f0a6fc25fb6bcfdea

Contents?: true

Size: 1.32 KB

Versions: 31

Compression:

Stored size: 1.32 KB

Contents

- edit ||= false
- collapsed = (@account.errors.empty? && session[:account_contact].nil?)
= subtitle :account_contact, collapsed, t(:contact_info)
.section
  %small#account_contact_intro{ hidden_if(!collapsed) }
    = t(:intro, t(:account_small)) unless edit
  #account_contact{ hidden_if(collapsed) }
    %table
      %tr
        %td{ :colspan => 3 }
          %table{ :width => "100%", :cellpadding => 0, :cellspacing => 0 }
            %tr
              %td
                .label #{t :phone_toll_free}:
                = f.text_field :toll_free_phone, :style => "width:154px"
              %td= spacer
              %td
                .label #{t :phone}:
                = f.text_field :phone, :style => "width:154px"
              %td= spacer
              %td
                .label #{t :fax}:
                = f.text_field :fax, :style => "width:154px"
      %tr
        %td
          .label.top #{t :website}:
          = f.text_field :website
        %td= spacer
        %td
          .label.top Email:
          = f.text_field :email
      %tr
        %td
          = render "shared/address", :f => f, :asset => @account, :type => :billing, :title => :billing_address
        %td= spacer
        %td
          = render "shared/address", :f => f, :asset => @account, :type => :shipping, :title => :shipping_address, :same_as_billing => true

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.15.2 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.16.4 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.14.1 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.15.1 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.16.3 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.16.2 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.16.1 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.16.0 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.15.0 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.15.0.beta.2 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.15.0.beta app/views/accounts/_contact_info.html.haml
fat_free_crm-0.14.0 app/views/accounts/_contact_info.html.haml
reduced_fat_crm-0.15.0.beta app/views/accounts/_contact_info.html.haml
reduced_fat_crm-0.14.0 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.13.6 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.13.5 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.13.4 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.13.3 app/views/accounts/_contact_info.html.haml
fat_free_crm-0.13.2 app/views/accounts/_contact_info.html.haml