polaris_view_helpers 1.1.5 → 1.1.6
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: 61d82658795a2c139e0a018965d52c9a0118a3957934e2dbca082b234514bc29
|
4
|
+
data.tar.gz: bb6c3ef83b150b284cd380c69955812d1d9aece3a1554813cf95ae668276f2ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77f1b4beab7f09c7484dd112067c768e59fab31d5bcd0cab42cb4e46db9304fea511a358da58a5221b31b2cdadfa1ab938db88dd0370ce23115c16047a82f538
|
7
|
+
data.tar.gz: 1d8c5c3aca4c82ee45f6c7bc14a2820b89273920dd5545af5048d54f7a56e35fcef2b42c3ffb9f6e22efcccb7cefbf36eb8583a3438b574ad5d5b3f22b76b6c2
|
@@ -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] || form.object
|
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.1.
|
4
|
+
version: 1.1.6
|
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-10-
|
11
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|