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.
- data/app/views/inquiries/new.html.erb +27 -17
- data/cms-inquiries.gemspec +2 -2
- data/lib/gemspec.rb +1 -1
- metadata +4 -4
|
@@ -1,34 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
12
|
-
|
|
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
|
|
20
|
+
<div>
|
|
16
21
|
<%= f.required_label :email %>
|
|
17
22
|
<%= f.text_field :email %>
|
|
18
23
|
</div>
|
|
19
|
-
<div
|
|
20
|
-
<%= f.label :
|
|
24
|
+
<div>
|
|
25
|
+
<%= f.label :telefono %>
|
|
21
26
|
<%= f.text_field :phone %>
|
|
22
27
|
</div>
|
|
23
|
-
<div
|
|
24
|
-
<%= f.required_label :
|
|
28
|
+
<div>
|
|
29
|
+
<%= f.required_label :mensaje %>
|
|
25
30
|
<%= f.text_area :message, :rows => 8 %>
|
|
26
31
|
</div>
|
|
27
|
-
<div
|
|
28
|
-
<%= f.submit
|
|
29
|
-
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<aside>
|
|
42
|
+
<%= raw @page.content_for(:side_body) %>
|
|
43
|
+
</aside>
|
|
44
|
+
</section>
|
data/cms-inquiries.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = %q{cms-inquiries}
|
|
3
|
-
s.version = %q{1.0.
|
|
4
|
-
s.date = %q{2012-02-
|
|
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}
|
data/lib/gemspec.rb
CHANGED
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:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
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-
|
|
18
|
+
date: 2012-02-12 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: filters_spam
|