contact 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/views/contacts/new.haml +23 -18
- data/contact-0.0.2.gem +0 -0
- data/lib/contact/version.rb +1 -1
- metadata +5 -4
data/app/views/contacts/new.haml
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
|
-
%
|
|
1
|
+
%div#new_contactC
|
|
2
|
+
%h1
|
|
3
|
+
Get in touch with us.
|
|
4
|
+
%br
|
|
5
|
+
We'd love to hear from you.
|
|
2
6
|
|
|
3
|
-
= form_for @contact_form, :url => send_email_path do |f|
|
|
4
|
-
|
|
7
|
+
= form_for @contact_form, :url => send_email_path do |f|
|
|
8
|
+
= render :partial => 'shared/user_notice', :locals => {:model_obj => @contact_form}
|
|
5
9
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
%fieldset#contact_info
|
|
11
|
+
%legend Contact Information
|
|
12
|
+
.field
|
|
13
|
+
= f.label :sender_name, 'Name'
|
|
14
|
+
= f.text_field :sender_name, :placeholder => 'Your Name'
|
|
10
15
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
.field
|
|
17
|
+
= f.label :sender_email, 'Email'
|
|
18
|
+
= f.text_field :sender_email, :type => 'email', :placeholder => 'Your Email', :class => 'text'
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
.field
|
|
21
|
+
= f.label :subject, 'Subject'
|
|
22
|
+
= f.text_field :subject, :placeholder => 'Subject Line'
|
|
18
23
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
.field
|
|
25
|
+
= f.label :body, 'Body'
|
|
26
|
+
= f.text_area :body, :placeholder => 'Your Message to Us'
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
.actions.clearfix
|
|
29
|
+
= f.submit 'Submit Your Message', :class => :button
|
data/contact-0.0.2.gem
ADDED
|
Binary file
|
data/lib/contact/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: contact
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jason Younker
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-03
|
|
18
|
+
date: 2011-04-03 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -86,6 +86,7 @@ files:
|
|
|
86
86
|
- config/locales/en.yml
|
|
87
87
|
- config/routes.rb
|
|
88
88
|
- contact-0.0.1.gem
|
|
89
|
+
- contact-0.0.2.gem
|
|
89
90
|
- contact.gemspec
|
|
90
91
|
- db/seeds.rb
|
|
91
92
|
- doc/README_FOR_APP
|