Sha256: 3e7821ba74fb63a8d7162326838c7c26ac4bb574cdef10f578ae7770c31c4e03

Contents?: true

Size: 1.12 KB

Versions: 13

Compression:

Stored size: 1.12 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

13 entries across 13 versions & 1 rubygems

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