polaris_view_helpers 1.2.2 → 1.2.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f786656493851934fb2c1f456cd64332868dd60af80c58e1de477b933e04c66f
|
4
|
+
data.tar.gz: 56873f891eff5f5b1abb89cdb6a253b22e4c4b820f450e14088a595f190e4080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06d28595b7ea6cdc6543fc409949c3f988f1658f797064db4558327e5cb795b02b3332abca414449f4bc6547dc68c6f55ed22304ab2fd7439c9c036a95b627e9
|
7
|
+
data.tar.gz: eadcdc517f77c89b99451e3554687b55666cf18ce6390e6d5473b9c908bb4fb5a215a45ed96c12024c9fd7290725c416b55a41083fbaa79b4f71d7aeb316f15d
|
@@ -1,3 +1,4 @@
|
|
1
|
-
|
1
|
+
<% data ||= nil %>
|
2
|
+
<%= button_tag type: type, class: "Polaris-Button #{additional_classes}", data: data do %>
|
2
3
|
<span class="Polaris-Button__Content"><span><%= name %></span></span>
|
3
4
|
<% end %>
|
@@ -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&.send(att) %>
|
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)), data: options[:data] %>
|
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.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Green
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|