Sha256: b62787837b427a9feaf574bcdef783c2c2aa136bea93c4505a2ce28446004165

Contents?: true

Size: 1.14 KB

Versions: 31

Compression:

Stored size: 1.14 KB

Contents

- edit ||= false
- collapsed = session[:contact_extra].nil? # && @contact.errors.empty?
= subtitle :contact_extra, collapsed, t(:extra_info)
.section
  %small#contact_extra_intro{ hidden_if(!collapsed) }
    = t(:intro, t(:extra_info_small)) unless edit
  #contact_extra{ hidden_if(collapsed) }
    %table
      = hook(:contact_extra_details_form, self, :f => f) do
        %tr
          %td
            .label #{t :job_title}:
            = f.text_field :title
          %td= spacer
          %td
            .label #{t :department}:
            = f.text_field :department
        %tr
          %td
            .label #{t :alt_email}:
            = f.text_field :alt_email
          %td= spacer
          %td
            .label #{t :mobile}:
            = f.text_field :mobile
        %tr
          %td
            = render "shared/address", :f => f, :asset => @contact, :type => 'business', :title => :address
          %td= spacer
          %td
            .label #{t :fax}:
            = f.text_field :fax
            %div{:style => "margin-top:6px"}
              .check_box
                = f.check_box :do_not_call, {}, true
                #{t :do_not_call}

Version data entries

31 entries across 31 versions & 2 rubygems

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