polaris_view_helpers 0.0.13 → 0.0.14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff6e0220903d01c87a5e418fbf040bc393c4222c
|
4
|
+
data.tar.gz: 41f27977bf20a4eddd4c7b49ab5eb2d815038d85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5ee97cbe3d6cd98b38e2cfe1e1fcdefaaec5f6cd48f9ab8d9adb15d99056bae0543cf20851a5be4364aa6f26c638fcd52aa9d4ffdb848088420dcbb8b21515c
|
7
|
+
data.tar.gz: 80b9e6bc4013124267cb8537357f0c8ebca1c50e1c49da96155c97d78313385095d92f15c773e632c325ea180096025e8ba47dde21ecf55f0562df2350deab53
|
@@ -1 +1 @@
|
|
1
|
-
<span class="Polaris-Badge"><%= content %></span>
|
1
|
+
<span class="Polaris-Badge"><%= content.html_safe %></span>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<%= link_to link_destination, method: method, class: "Polaris-Button #{additional_classes}", 'data-polaris-unstyled': true do %>
|
1
|
+
<%= link_to link_destination, method: method, confirm: confirm, class: "Polaris-Button #{additional_classes}", 'data-polaris-unstyled': true do %>
|
2
2
|
<span class="Polaris-Button__Content"><span><%= name || capture(&block) %></span></span>
|
3
3
|
<% end %>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<%= link_to link_destination, method: method, class: "Polaris-Link", 'data-polaris-unstyled': true do %>
|
1
|
+
<%= link_to link_destination, method: method, confirm: confirm, class: "Polaris-Link", 'data-polaris-unstyled': true do %>
|
2
2
|
<%= name || capture(&block) %>
|
3
3
|
<% end %>
|
@@ -114,7 +114,8 @@ module PolarisViewHelpers
|
|
114
114
|
block: block,
|
115
115
|
additional_classes: additional_classes,
|
116
116
|
link_destination: link_destination,
|
117
|
-
method: button_options[:method]
|
117
|
+
method: button_options[:method],
|
118
|
+
confirm: button_options[:confirm]
|
118
119
|
}
|
119
120
|
)
|
120
121
|
end
|
@@ -136,7 +137,8 @@ module PolarisViewHelpers
|
|
136
137
|
block: block,
|
137
138
|
additional_classes: additional_classes,
|
138
139
|
link_destination: link_destination,
|
139
|
-
method: button_options[:method]
|
140
|
+
method: button_options[:method],
|
141
|
+
confirm: button_options[:confirm]
|
140
142
|
}
|
141
143
|
)
|
142
144
|
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: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Green
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|