Sha256: 34f232c23fdabdbade70f42732e61c6b18e80735f4b280afa31aef9551ff533f

Contents?: true

Size: 944 Bytes

Versions: 10

Compression:

Stored size: 944 Bytes

Contents

= hook(:lead_top_section, self, :f => f) do
  .section
    %table
      %tr
        %td
          .label.top{ :class => "#{Setting.require_first_names ? 'req' : nil}" } #{t :first_name}:
          = f.text_field :first_name
        %td= spacer
        %td
          .label.top{ :class => "#{Setting.require_last_names ? 'req' : nil}" } #{t :last_name}:
          = f.text_field :last_name
      %tr
        %td
          .label #{t :email}:
          = f.text_field :email
        %td= spacer
        %td
          .label #{t :phone}:
          = f.text_field :phone

      - if Setting.background_info && Setting.background_info.include?(:lead)
        %tr
          %td(colspan="3")
            .label= t(:background_info) << ':'
            = f.text_area :background_info, :style =>"width:500px", :rows => 3

      = render :partial => "/shared/tags", :locals => {:f => f, :span => 3}

      = hook(:lead_top_section_bottom, self, :f => f)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 app/views/leads/_top_section.html.haml
fat_free_crm-0.13.5 app/views/leads/_top_section.html.haml
fat_free_crm-0.13.4 app/views/leads/_top_section.html.haml
fat_free_crm-0.13.2 app/views/leads/_top_section.html.haml
fat_free_crm-0.12.3 app/views/leads/_top_section.html.haml
fat_free_crm-0.12.2 app/views/leads/_top_section.html.haml
fat_free_crm-0.13.1 app/views/leads/_top_section.html.haml
fat_free_crm-0.12.1 app/views/leads/_top_section.html.haml
fat_free_crm-0.13.0 app/views/leads/_top_section.html.haml
fat_free_crm-0.12.0 app/views/leads/_top_section.html.haml