Sha256: a99848013e5921549439e6a00a22e7097909c4ac2431db4c2db0154a374e9f83

Contents?: true

Size: 1.07 KB

Versions: 13

Compression:

Stored size: 1.07 KB

Contents

- edit ||= false
- collapsed = session[:lead_contact].nil? # && @lead.errors.empty?
= subtitle :lead_contact, collapsed, t(:contact_info)
.section
  %small#lead_contact_intro{ hidden_if(!collapsed) }
    = t(:intro, t(:lead_info_small)) unless edit
  #lead_contact{ hidden_if(collapsed) }
    %table
      %tr
        %td
          .label.top #{t :job_title}:
          = f.text_field :title
        %td= spacer
        %td
          .label.top #{t :company}:
          = f.autocomplete_field :company, autocomplete_account_name_leads_path
      %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: @lead, type: 'business', title: :address
        %td= spacer
        %td
          .label #{t :referred_by}:
          = f.text_field :referred_by
          %div{style: "margin-top:6px"}
            .check_box
              = f.check_box :do_not_call, {}, true
              #{t :do_not_call}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/leads/_contact.html.haml
fat_free_crm-0.22.0 app/views/leads/_contact.html.haml
fat_free_crm-0.21.0 app/views/leads/_contact.html.haml
fat_free_crm-0.20.1 app/views/leads/_contact.html.haml
fat_free_crm-0.20.0 app/views/leads/_contact.html.haml
fat_free_crm-0.19.2 app/views/leads/_contact.html.haml
fat_free_crm-0.19.0 app/views/leads/_contact.html.haml
fat_free_crm-0.18.2 app/views/leads/_contact.html.haml
fat_free_crm-0.17.3 app/views/leads/_contact.html.haml
fat_free_crm-0.18.1 app/views/leads/_contact.html.haml
fat_free_crm-0.18.0 app/views/leads/_contact.html.haml
fat_free_crm-0.17.2 app/views/leads/_contact.html.haml
fat_free_crm-0.17.1 app/views/leads/_contact.html.haml