edgarj 0.01.15 → 0.01.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2bc5bfee5c1b4a5d4835549b693b08ca2aa6d7fc
4
- data.tar.gz: 44afb9ba5b1aae1d1b8f6dd9cb3199fe7a5a8f31
3
+ metadata.gz: 95a59cec1ce91f18d3eccda430acb189dd641be5
4
+ data.tar.gz: d26ea0409b6c8e2837b3328a9767b444bff2b273
5
5
  SHA512:
6
- metadata.gz: 5293d8dc1b503d4f539af7a3e29d9eb639bf44e9c6c33106308e230e232cd1320f41dd8a3deb182f81a024f809e04d713544ea0ac6baa5cea8ad977df1405f8e
7
- data.tar.gz: b02a4aca6dd2a81201820265ca0bf97365c9ab840281d9c95a11069bc2086ce6de62cf0d67ce3a09193937d415a3d852fcceddc1967008b7084ec7d0440e295c
6
+ metadata.gz: 318b696efc49518af04fd599718cfb5ecaeb48be713004c6159f1569a3c372daf5b4631372e98d72b530a58e0415139ee8ba4c1c55a3a0b62264e0818a146390
7
+ data.tar.gz: 9f2d4dcfff4dcf60fb8d0c4c62ed862e09c6b5d8251f5125e0c3d669a9d0c443f69ce2cd63bc84d24dabf3275f0d486d42040fc8a6b2c19cf885f5fd19ada7a8
@@ -199,6 +199,7 @@ module Edgarj
199
199
  action: record.new_record? ? 'create' : 'update',
200
200
  }
201
201
  url_hash[:id] = record.id if record.persisted?
202
+ @vc.draw_form_buttons(@options[:draw_form_options] || {}) +
202
203
  @vc.form_for(record,
203
204
  remote: true,
204
205
  url: url_hash,
@@ -212,8 +213,7 @@ module Edgarj
212
213
 
213
214
  # to avoid submit on 1-textfield form when hit [ENTER] key
214
215
  '<input type="text" name="dummy" style="visibility:hidden" size=0>'.html_safe
215
- end +
216
- @vc.draw_form_buttons(@options[:draw_form_options] || {})
216
+ end
217
217
  end
218
218
 
219
219
  # return array of model columns (ActiveRecord::ConnectionAdapters::X_Column type).
@@ -1,3 +1,3 @@
1
1
  module Edgarj
2
- VERSION = "0.01.15"
2
+ VERSION = "0.01.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edgarj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.01.15
4
+ version: 0.01.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fuminori Ido