appointments 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ http://rubygems.org/gems/appointments
6
6
 
7
7
  == SYNOPSIS:
8
8
 
9
- Uses the jQuery UI datepicker and ActiveRecord to allow users to choose a date and then match the hours belonging to that date with hours that have already been scheduled. See the tutorial for more info http://leveton.wordpress.com/2012/02/19/schedule-appointments-with-rails3-and-jquery/
9
+ Uses the jQuery UI datepicker and ActiveRecord to allow users to choose a date and then match the hours belonging to that date with hours that have already been scheduled. See the tutorial for more info http://leveton.wordpress.com/2012/02/21/schedule-appointments-with-rails-3-and-jquery/
10
10
 
11
11
  == REQUIREMENTS:
12
12
 
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "appointments"
5
- s.version = "1.3.2"
5
+ s.version = "1.3.3"
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.summary = "Schedule appointments with Rails 3 and the jQuery-UI"
8
8
  s.email = "mleveton@prepcloud.com"
@@ -27,9 +27,9 @@ module Appointments
27
27
  end
28
28
 
29
29
  def add_javascripts
30
- template "jquery.ui.datepicker.min.js", "public/jquery.ui.datepicker.min.js"
31
- template "jquery.ui.widget.min.js", "public/jquery.ui.widget.min.js"
32
- template "appointment.js", "public/appointment.js"
30
+ template "jquery.ui.datepicker.min.js", "public/javascripts/jquery.ui.datepicker.min.js"
31
+ template "jquery.ui.widget.min.js", "public/javascripts/jquery.ui.widget.min.js"
32
+ template "appointment.js", "public/javascripts/appointment.js"
33
33
  end
34
34
 
35
35
  def add_stylesheets
@@ -53,7 +53,7 @@
53
53
  <div id='cal_previous2'><button class='btn' onclick='prevPage();'>back</button></div><br />
54
54
 
55
55
  <div id="appointment_form">
56
- <%%=form_tag(@appointments) %>
56
+ <%%= form_tag("/appointments", :method => "post") do %>
57
57
 
58
58
  <br />
59
59
  <label for="appointments_date">scheduled date</label><br /><br />
@@ -69,6 +69,9 @@
69
69
  <br />
70
70
 
71
71
  <input type="submit" name="btn" value="Submit" class = 'btn' id="subData" style="display:none;">
72
+
73
+ <%%= submit_tag("Submit") %>
74
+ <%% end %>
72
75
 
73
76
  </div>
74
77
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appointments
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-21 00:00:00.000000000Z
12
+ date: 2012-02-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &23403520 !ruby/object:Gem::Requirement
16
+ requirement: &21354560 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *23403520
24
+ version_requirements: *21354560
25
25
  description: Schedule appointments with Rails 3 and the jQuery-UI
26
26
  email: mleveton@prepcloud.com
27
27
  executables: []