simple_form_extension 1.4.2 → 1.4.3

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: 315febdbf283e9f1ad371508f160219dde38ac51
4
- data.tar.gz: 3c6d7367239187835e8a959b450d2cd540d7a110
3
+ metadata.gz: f067022aa0f322e2f5b7d2fa18aed43c248e166e
4
+ data.tar.gz: 4aea2263c95ac54dd7035da275b67a1ec26258f2
5
5
  SHA512:
6
- metadata.gz: 3c2b33e96e03091cacd6fec59030d1889318b6f5fc8acefb4e2fb480454b894a195ebf9b487266454a069851c57e0d57fc57da3d59adea42bfbbbfad82a78f08
7
- data.tar.gz: 9bb519ca047b4075053ccc7ed04a9af00684fcb742c28068ef28815130beeed4d8e2b9672517d76a655dce5f7fdbb7e8a8bf408df7e5df8eddf48d72d30890d4
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-danger fileinput-exists', type: 'button', data: { dismiss: 'fileinput' }) do
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-danger', type: 'button', data: { dismiss: 'existing-file' }) do
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
@@ -1,3 +1,3 @@
1
1
  module SimpleFormExtension
2
- VERSION = "1.4.2"
2
+ VERSION = "1.4.3"
3
3
  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.2
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-08-18 00:00:00.000000000 Z
11
+ date: 2016-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails