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