e9_crm 0.1.22 → 0.1.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,8 @@ class E9Crm::LeadsController < ApplicationController
8
8
  include E9Rails::Helpers::Translation
9
9
  include E9Rails::Helpers::ResourceErrorMessages
10
10
 
11
+ include E9::Controllers::CheckboxCaptcha
12
+
11
13
  inherit_resources
12
14
  belongs_to :offer, :param => :public_offer_id
13
15
  defaults :resource_class => Deal, :instance_name => 'deal'
@@ -19,6 +19,8 @@
19
19
  = label_tag "#{resource_instance_name}_mailing_list_ids_#{ml.id}", ml.description
20
20
  = check_box_tag "#{resource_instance_name}[mailing_list_ids][]", ml.id, true, :id => "#{resource_instance_name}_mailing_list_ids_#{ml.id}"
21
21
 
22
+ = checkbox_captcha
23
+
22
24
  .actions
23
25
  - if @offer.submit_button_text.present?
24
26
  = f.submit @offer.submit_button_text
@@ -1,3 +1,3 @@
1
1
  module E9Crm
2
- VERSION = '0.1.22'
2
+ VERSION = '0.1.23'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: e9_crm
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.22
5
+ version: 0.1.23
6
6
  platform: ruby
7
7
  authors:
8
8
  - Travis Cox
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-21 00:00:00 Z
13
+ date: 2011-09-23 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails