appointments 1.2.4 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/appointments.gemspec CHANGED
@@ -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.2.4"
5
+ s.version = "1.2.6"
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"
@@ -23,7 +23,7 @@ module Appointments
23
23
  end
24
24
 
25
25
  def add_stub_view
26
- template "match_dates.html.erb", "app/views/appointments/match_dates.html.erb"
26
+ template "index.html.erb", "app/views/appointments/index.html.erb"
27
27
  end
28
28
 
29
29
  def add_javascripts
@@ -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 method = 'post' action = '/appointments'>
56
+ <%%=form_tag(@appointments) %>
57
57
 
58
58
  <br />
59
59
  <label for="schedules_date">scheduled date</label><br /><br />
@@ -69,7 +69,7 @@
69
69
  <br />
70
70
 
71
71
  <input type="submit" name="btn" value="Submit" class = 'btn' id="subData" style="display:none;">
72
- </form>
72
+
73
73
  </div>
74
74
 
75
75
  <div id = "hidden_hour_div"></div>
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.2.4
4
+ version: 1.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-19 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &18871680 !ruby/object:Gem::Requirement
16
+ requirement: &20636180 !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: *18871680
24
+ version_requirements: *20636180
25
25
  description: Schedule appointments with Rails 3 and the jQuery-UI
26
26
  email: mleveton@prepcloud.com
27
27
  executables: []
@@ -33,7 +33,7 @@ files:
33
33
  - README
34
34
  - README.rdoc
35
35
  - Rakefile
36
- - appointments-1.2.3.gem
36
+ - appointments-1.2.4.gem
37
37
  - appointments.gemspec
38
38
  - lib/generators/appointments/install/install_generator.rb
39
39
  - lib/generators/appointments/templates/appointment.js