spud_inquiries 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@
7
7
  <%@inquiries.each do |inquiry|%>
8
8
  <div class="page_row">
9
9
 
10
- <span class="row_meta"><%=link_to "#{inquiry.spud_inquiry_form.name}: #{inquiry.email},spud_admin_inquiry_path(inquiry)%></span>
10
+ <span class="row_meta"><%=link_to "#{inquiry.spud_inquiry_form.blank? ? "No Form" : inquiry.spud_inquiry_form.name}: #{inquiry.email}",spud_admin_inquiry_path(inquiry)%></span>
11
11
 
12
12
  <span class="edit_controls">
13
13
 
@@ -1,5 +1,5 @@
1
1
  <%=content_for :detail do%>
2
- <h3>Form: <%=@inquiry.spud_inquiry_form.name%>
2
+ <h3>Form: <%=@inquiry.spud_inquiry_form.blank? ? "No Form" : @inquiry.spud_inquiry_form.name%>
3
3
  <p><strong>From:</strong> <%=link_to @inquiry.email,"mailto:#{@inquiry.email}"%></p>
4
4
  <%@inquiry.spud_inquiry_fields.each do |field|%>
5
5
  <p><strong><%=field.name%></strong>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spud_inquiries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spud_core
16
- requirement: &70277981813080 !ruby/object:Gem::Requirement
16
+ requirement: &70131548897920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.5.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70277981813080
24
+ version_requirements: *70131548897920
25
25
  description:
26
26
  email: destes@redwindsw.com
27
27
  executables: []