contact 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,24 +1,29 @@
1
- %h1 Contact Us
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
- = render :partial => 'shared/user_notice', :locals => {:model_obj => @contact_form}
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
- %div.formC_700
7
- .field
8
- = f.label :sender_name, 'Name'
9
- = f.text_field :sender_name
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
- .field
12
- = f.label :sender_email, 'Email'
13
- = f.text_field :sender_email
16
+ .field
17
+ = f.label :sender_email, 'Email'
18
+ = f.text_field :sender_email, :type => 'email', :placeholder => 'Your Email', :class => 'text'
14
19
 
15
- .field
16
- = f.label :subject, 'Subject'
17
- = f.text_field :subject
20
+ .field
21
+ = f.label :subject, 'Subject'
22
+ = f.text_field :subject, :placeholder => 'Subject Line'
18
23
 
19
- .field
20
- = f.label :body, 'Body'
21
- = f.text_area :body
24
+ .field
25
+ = f.label :body, 'Body'
26
+ = f.text_area :body, :placeholder => 'Your Message to Us'
22
27
 
23
- .actions.clearfix
24
- = f.submit 'Save Product Information', :class => :button
28
+ .actions.clearfix
29
+ = f.submit 'Submit Your Message', :class => :button
data/contact-0.0.2.gem ADDED
Binary file
@@ -1,3 +1,3 @@
1
1
  module Contact
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
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-26 00:00:00 -07:00
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