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 +4 -4
- data/app/views/polaris/_text_field.html.erb +1 -1
- data/lib/polaris_view_helpers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86f590211c53981680762196c50d6f1d30b7dfbe3f673c730a2b9bf9b04f047f
|
4
|
+
data.tar.gz: 660289014852033d9075f775e939f22a67d2d4f831af72f5efc2b143b816395e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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>
|
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
|
+
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-
|
11
|
+
date: 2021-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|