cms-inquiries 1.0.2 → 1.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.
@@ -1,34 +1,44 @@
1
- <% content_for :body_content_left do %>
2
- <div class='inquiries'>
3
- <%=raw @page[Page.default_parts.first.to_sym] %>
1
+ <section id="main-content" class="clearfix">
2
+ <div class="primary">
3
+ <%= raw @page.content_for(:body) %>
4
4
 
5
- <%= form_for @inquiry do |f| %>
5
+ <%= form_for @inquiry, :html => {:class => "", :id => "contactform" } do |f| %>
6
6
  <%= render :partial => "/shared/admin/error_messages",
7
7
  :locals => {
8
8
  :object => @inquiry,
9
9
  :include_object_name => true
10
10
  } %>
11
- <div class='field'>
12
- <%= f.required_label :name %>
11
+
12
+ <div>
13
+ <p>Envianos un mensaje</p>
14
+ </div>
15
+
16
+ <div>
17
+ <%= f.required_label :nombre %>
13
18
  <%= f.text_field :name %>
14
19
  </div>
15
- <div class='field'>
20
+ <div>
16
21
  <%= f.required_label :email %>
17
22
  <%= f.text_field :email %>
18
23
  </div>
19
- <div class='field'>
20
- <%= f.label :phone %>
24
+ <div>
25
+ <%= f.label :telefono %>
21
26
  <%= f.text_field :phone %>
22
27
  </div>
23
- <div class='field message_field'>
24
- <%= f.required_label :message %>
28
+ <div>
29
+ <%= f.required_label :mensaje %>
25
30
  <%= f.text_area :message, :rows => 8 %>
26
31
  </div>
27
- <div class='actions'>
28
- <%= f.submit t('.send') %>
29
- <%= link_to t('.privacy_policy'), "/pages/privacy-policy", :id => "privacy_link" if RefinerySetting.find_or_set(:show_contact_privacy_link, false) %>
32
+ <div>
33
+ <%= f.submit 'Enviar mensaje', :class => "button" %>
34
+ <input type="reset" value="Limpiar" class="button">
30
35
  </div>
36
+ <%= link_to t('.privacy_policy'), "/pages/privacy-policy", :id => "privacy_link" if RefinerySetting.find_or_set(:show_contact_privacy_link, false) %>
37
+
31
38
  <% end %>
32
- </div>
33
- <% end %>
34
- <%= render :partial => "/shared/content_page" %>
39
+ </div>
40
+
41
+ <aside>
42
+ <%= raw @page.content_for(:side_body) %>
43
+ </aside>
44
+ </section>
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{cms-inquiries}
3
- s.version = %q{1.0.2}
4
- s.date = %q{2012-02-08}
3
+ s.version = %q{1.0.3}
4
+ s.date = %q{2012-02-12}
5
5
  s.summary = %q{Inquiry handling functionality for the CMS project.}
6
6
  s.description = %q{Inquiry handling functionality extracted from CMS to allow you to have a contact form and manage inquiries in the backend.}
7
7
  s.homepage = %q{http://www.mutalis.com}
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '1.0.2'
2
+ version = '1.0.3'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = Dir.glob("**/*").flatten.reject do |file|
5
5
  file =~ /\.gem$/
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cms-inquiries
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mutalis LLC
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-08 00:00:00 Z
18
+ date: 2012-02-12 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: filters_spam