polaris_view_helpers 1.0.4 → 1.0.5

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
  SHA256:
3
- metadata.gz: 7868ab2901bb6c6f967cf4abcf171a8327774902be6c760eaaf4b2fbc9284f20
4
- data.tar.gz: c8e748653c7d66c53ef9bc9dcc670d1374ea6df1b1d44dad7bc222d42dc31fe9
3
+ metadata.gz: 86f590211c53981680762196c50d6f1d30b7dfbe3f673c730a2b9bf9b04f047f
4
+ data.tar.gz: 660289014852033d9075f775e939f22a67d2d4f831af72f5efc2b143b816395e
5
5
  SHA512:
6
- metadata.gz: 0b298bb073ebb01299e9fe2cd177a3748e98c58687a389f8e379a8b8de760365fe5b35e5b1e5eeee672f4813fd7fbfdc6724e476960e472b0ac2e0774b3dcb57
7
- data.tar.gz: 268270f81a0f787b65268eb3e062208c336282a7dfe7f62f5326a8f0c9607c879ca960b801b787f1f2b68b3aee7fd18137cd481a8ce6409d501603a51c44e3d8
6
+ metadata.gz: 46a8d0038d146de703ca8d4bc5df05a1575c8a3289ab3b5d3ba77798acb6863ce68c95d1de42bff7b3a01389de3de88f88d0b1d715e01ade82e667aa7f55f4a1
7
+ data.tar.gz: 30254916ed6bc36e83e890a2cbb93d5086e05c0825644043e0a6228b4efc08abef0141735b5d1e2d66c55d85332dbf0e512b69e51c4e3e503cea678a345badbb
@@ -9,7 +9,7 @@
9
9
  </div>
10
10
  <% end %>
11
11
  <div class="Polaris-TextField">
12
- <%= form.send element_type, att, id: "#{form.object.class.name.tableize.singularize}_#{att}", class: "Polaris-TextField__Input", placeholder: options[:placeholder], value: options[:value] %>
12
+ <%= form.send element_type, att, id: "#{form.object.class.name.tableize.singularize}_#{att}", class: "Polaris-TextField__Input", placeholder: options[:placeholder], value: options[:value] || form.object.send(att) %>
13
13
  <div class="Polaris-TextField__Backdrop"></div>
14
14
  </div>
15
15
  </div>
@@ -1,3 +1,3 @@
1
1
  module PolarisViewHelpers
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polaris_view_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-02 00:00:00.000000000 Z
11
+ date: 2021-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails