simple_form_extension 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f067022aa0f322e2f5b7d2fa18aed43c248e166e
|
|
4
|
+
data.tar.gz: 4aea2263c95ac54dd7035da275b67a1ec26258f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6301b946eb69ccbe0b4b45c41b26375fad1fefa36f8de4903bae4d8750e8b8635dcf2545822fb8b4061b25aa2175ab87be32f260863a4a6e104be8673341f296
|
|
7
|
+
data.tar.gz: 1c8f46710311e278f5d2787fe4819547eb2b6ea5294441633e7e597fdb6a74bff86e080e4e409bc52a77fee35c15dbda8a93d96506f9e9fef2f8bf3b9544af83
|
|
@@ -27,7 +27,7 @@ module SimpleFormExtension
|
|
|
27
27
|
@builder.file_field(attribute_name, input_html_options)
|
|
28
28
|
end +
|
|
29
29
|
|
|
30
|
-
content_tag(:button, class: 'btn btn-
|
|
30
|
+
content_tag(:button, class: 'btn btn-default fileinput-exists', type: 'button', data: { dismiss: 'fileinput' }) do
|
|
31
31
|
content_tag(:i, '', class: 'fa fa-times')
|
|
32
32
|
end
|
|
33
33
|
end
|
|
@@ -61,7 +61,7 @@ module SimpleFormExtension
|
|
|
61
61
|
def remove_file_button
|
|
62
62
|
return unless object.respond_to?(:"#{ remove_attachment_method }=")
|
|
63
63
|
|
|
64
|
-
content_tag(:button, class: 'btn btn-
|
|
64
|
+
content_tag(:button, class: 'btn btn-default', type: 'button', data: { dismiss: 'existing-file' }) do
|
|
65
65
|
content_tag(:i, '', class: 'fa fa-remove', data: { :'removed-class' => 'fa fa-refresh' }) +
|
|
66
66
|
@builder.hidden_field(remove_attachment_method, class: 'remove-file-input', value: nil)
|
|
67
67
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_form_extension
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Glyph-fr
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-09-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|