wheels 0.1.9 → 0.1.10

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.9
1
+ 0.1.10
@@ -1,11 +1,9 @@
1
1
  class Feedback < ActiveRecord::Base
2
2
  validates :email, :presence=>true, :email=>true
3
3
  validates :name, :presence=>true, :length=>{:minimum=>6}
4
- validates :phone, :presence=>true
4
+ validates :phone
5
5
  validates :subject, :presence=>true
6
6
 
7
-
8
-
9
7
  def self.jq_validation
10
8
  JQueryValidator.new
11
9
  end
@@ -26,12 +26,12 @@
26
26
  .field
27
27
  = f.label :subject
28
28
  = f.text_field :subject
29
+ .field
30
+ = label_tag "Would you like a response?"
31
+ = f.check_box :want_response
29
32
  .field
30
33
  = f.label :message
31
34
  = f.text_area :message
32
- .field
33
- = label_tag "Would you like to hear back from us?"
34
- = f.check_box :want_response
35
35
  .actions
36
36
  = f.submit 'Send feedback'
37
37
 
@@ -1,5 +1,6 @@
1
- %h1 New feedback
1
+ %h1 Thanks for your interest
2
+ %h3 Please fill in the form below and let us know if you'd like a response.
2
3
 
3
- = render 'form'
4
+ #form_container
5
+ = render 'form'
4
6
 
5
- = link_to 'Back', feedbacks_path
@@ -1,9 +1,15 @@
1
1
  = render :partial => "show"
2
2
  = render :partial => "child_pages_links"
3
3
 
4
- - if @parent_page
5
- = content_for :links do
6
- %li= link_to "< #{@parent_page.title}", @parent_page
4
+ - if @sitemap && (@sitemap.parent != Sitemap.main_menu)
5
+ = nav_content do
6
+ %ul.parent_page
7
+ %li= link_to @sitemap.parent.menu_text, @sitemap
8
+ - if @sitemap && !@sitemap.children.empty?
9
+ = nav_content do
10
+ %ul.child_pages
11
+ - @sitemap.children.each do |child|
12
+ %li= link_to child.menu_text, child
7
13
 
8
14
  - unless @page.attachments.empty?
9
15
  = sidebar_content do
@@ -1,7 +1,12 @@
1
1
  module ActionDispatch::Routing
2
2
  class Mapper
3
3
  def wheels_resources
4
- resources :access_control_entries
4
+ resources :access_control_entries do
5
+ collection do
6
+ put :sort
7
+ end
8
+ end
9
+
5
10
  resources :app_configs do
6
11
  member do
7
12
  get :css
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wheels}
8
- s.version = "0.1.9"
8
+ s.version = "0.1.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tyler Gannon"]
12
- s.date = %q{2010-09-12}
12
+ s.date = %q{2010-09-13}
13
13
  s.description = %q{Call rails generate wheels.}
14
14
  s.email = %q{tgannon@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 9
9
- version: 0.1.9
8
+ - 10
9
+ version: 0.1.10
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Gannon
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-12 00:00:00 -07:00
17
+ date: 2010-09-13 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency