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 +4 -4
- data/app/models/edgarj/drawer/base.rb +2 -2
- data/lib/edgarj/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95a59cec1ce91f18d3eccda430acb189dd641be5
|
4
|
+
data.tar.gz: d26ea0409b6c8e2837b3328a9767b444bff2b273
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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).
|
data/lib/edgarj/version.rb
CHANGED