ecm_contact 0.0.1.pre → 0.0.2.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,7 @@ module Ecm
3
3
  class Request < MailForm::Base
4
4
  attribute :name
5
5
  attribute :email
6
+ attribute :phone
6
7
  attribute :message
7
8
  attribute :terms_of_service
8
9
  attribute :nickname, :captcha => true
@@ -1,6 +1,7 @@
1
1
  <%= simple_form_for @contact_request, :html_class => 'well' do |f| %>
2
2
  <%= f.input :name %>
3
3
  <%= f.input :email %>
4
+ <%= f.input :phone %>
4
5
  <%= f.input :message, :as => :text %>
5
6
  <%= f.input :terms_of_service, :as => :boolean %>
6
7
 
@@ -4,5 +4,5 @@ de:
4
4
  request:
5
5
  index:
6
6
  title: Kotaktanfrage
7
- recipients: robotex@robotex.de
7
+ recipients: change-me@example.com
8
8
  subject: "[%{application_name}] Neue Kontaktanfrage"
@@ -0,0 +1,8 @@
1
+ en:
2
+ ecm:
3
+ contact:
4
+ request:
5
+ index:
6
+ title: Contact request
7
+ recipients: change-me@example.com
8
+ subject: "[%{application_name}] New contact request"
@@ -7,6 +7,7 @@ de:
7
7
  email: E-Mail
8
8
  name: Name
9
9
  message: Nachricht
10
+ phone: Telefon
10
11
  terms_of_service: Hiermit erlaube ich dem Seitenbetreiber die Nutzung meiner Daten zwecks Beantwortung dieser Kontaktanfrage.
11
12
  request:
12
13
  title: "Kontaktanfrage"
@@ -1 +1,13 @@
1
1
  en:
2
+ mail_form:
3
+ models:
4
+ ecm/contact/request: contact request
5
+ attributes:
6
+ ecm/contact/request:
7
+ email: email
8
+ name: name
9
+ message: message
10
+ phone: phone
11
+ terms_of_service: I hereby allow the site owner to use my personal data for the purpose of answering this request.
12
+ request:
13
+ title: contact request
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Contact
3
- VERSION = '0.0.1.pre'
3
+ VERSION = '0.0.2.pre'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_contact
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961915968
4
+ hash: 961915980
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
9
+ - 2
10
10
  - pre
11
- version: 0.0.1.pre
11
+ version: 0.0.2.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Roberto Vasquez Angel
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-08-08 00:00:00 Z
19
+ date: 2012-08-23 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rails
@@ -238,6 +238,7 @@ files:
238
238
  - config/locales/ecm.contact.de.yml
239
239
  - config/locales/ecm.contact.routes.en.yml
240
240
  - config/locales/ecm.contact.request.en.yml
241
+ - config/locales/ecm.contact.en.yml
241
242
  - config/locales/ecm.contact.request.de.yml
242
243
  - lib/ecm_contact.rb
243
244
  - lib/ecm/contact/engine.rb