mxit-rails 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,10 +34,6 @@
34
34
  <br />
35
35
  <% if @_mxit.input %>
36
36
  <%= mxit_proceed @_mxit.input_label %>
37
- <form method="POST" action="<%= request.path %>">
38
- <input type="text" name="<%= @_mxit.input %>" />
39
- <input type="submit" name="_mxit_rails_submit" value="Proceed" />
40
- </form>
41
37
 
42
38
  <% elsif @_mxit.select %>
43
39
  <%= mxit_proceed @_mxit.select_label %>
@@ -56,5 +52,13 @@
56
52
  </table>
57
53
  <% end %>
58
54
 
55
+ <% if @_mxit.input %>
56
+ <!-- The form must be outside the table - put it right at the bottom of the page -->
57
+ <form method="POST" action="<%= request.path %>">
58
+ <input type="text" name="<%= @_mxit.input %>" />
59
+ <input type="submit" name="_mxit_rails_submit" value="Proceed" />
60
+ </form>
61
+ <% end %>
62
+
59
63
  </body>
60
64
  </html>
@@ -1,3 +1,3 @@
1
1
  module MxitRails
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
@@ -58377,3 +58377,47 @@ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
58377
58377
 
58378
58378
  Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-09-27 12:21:07 +0200
58379
58379
  Served asset /mxit_rails/included.css - 304 Not Modified (0ms)
58380
+
58381
+
58382
+ Started GET "/" for 127.0.0.1 at 2012-09-27 14:16:47 +0200
58383
+ Connecting to database specified by database.yml
58384
+ Processing by IndexController#index as HTML
58385
+ Rendered index/index.html.erb within layouts/mxit (19.0ms)
58386
+ Completed 200 OK in 37ms (Views: 36.1ms | ActiveRecord: 0.0ms)
58387
+
58388
+
58389
+ Started GET "/assets/mxit_rails/included.css?body=1" for 127.0.0.1 at 2012-09-27 14:16:47 +0200
58390
+ Served asset /mxit_rails/included.css - 200 OK (5ms)
58391
+
58392
+
58393
+ Started GET "/form" for 127.0.0.1 at 2012-09-27 14:16:49 +0200
58394
+ Processing by FormController#index as HTML
58395
+ Rendered form/index/start.html.erb within layouts/mxit (0.5ms)
58396
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
58397
+
58398
+
58399
+ Started GET "/form?_mxit_rails_submit=Proceed" for 127.0.0.1 at 2012-09-27 14:16:50 +0200
58400
+ Processing by FormController#index as HTML
58401
+ Parameters: {"_mxit_rails_submit"=>"Proceed"}
58402
+ Rendered form/index/name.html.erb within layouts/mxit (0.6ms)
58403
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
58404
+
58405
+
58406
+ Started POST "/form" for 127.0.0.1 at 2012-09-27 14:16:52 +0200
58407
+ Processing by FormController#index as HTML
58408
+ Parameters: {"name"=>"Linsen", "_mxit_rails_submit"=>"Proceed"}
58409
+ Validated!
58410
+ Redirected to http://localhost:3000/form
58411
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
58412
+
58413
+
58414
+ Started GET "/form" for 127.0.0.1 at 2012-09-27 14:16:52 +0200
58415
+ Processing by FormController#index as HTML
58416
+ Rendered form/index/age.html.erb within layouts/mxit (0.5ms)
58417
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
58418
+
58419
+
58420
+ Started GET "/" for 127.0.0.1 at 2012-09-27 14:16:53 +0200
58421
+ Processing by IndexController#index as HTML
58422
+ Rendered index/index.html.erb within layouts/mxit (0.2ms)
58423
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mxit-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: