Sha256: 1927cc7261a54899275d9993a3795bfc7e5ba6a781e4096d8c9a8b50a3a27275

Contents?: true

Size: 920 Bytes

Versions: 12

Compression:

Stored size: 920 Bytes

Contents

= form_for resource, :url => public_offer_deals_path(@offer) do |f|
  .errors= resource_error_messages!
  .notice

  - if f.object.user.blank?
    .field
      = f.label :lead_email, nil, :class => :req
      = f.text_field :lead_email, :class => 'email required'
    .field
      = f.label :lead_name, nil, :class => :req
      = f.text_field :lead_name, :class => 'required'

  = @offer.custom_form_html.html_safe

  - if @offer.mailing_lists.any?
    %fieldset
      - @offer.mailing_lists.each do |ml|
        .field.checkbox
          = label_tag "#{resource_instance_name}_mailing_list_ids_#{ml.id}", ml.description
          = check_box_tag "#{resource_instance_name}[mailing_list_ids][]", ml.id, true, :id => "#{resource_instance_name}_mailing_list_ids_#{ml.id}"

  = checkbox_captcha

  .actions
    - if @offer.submit_button_text.present?
      = f.submit @offer.submit_button_text
    - else
      = f.submit

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
e9_crm-0.1.34 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.33 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.32 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.31 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.30 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.29 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.28 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.27 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.26 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.25 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.24 app/views/e9_crm/leads/_form.html.haml
e9_crm-0.1.23 app/views/e9_crm/leads/_form.html.haml