polaris_view_helpers 0.0.11 → 0.0.12
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: 99822b84f21bd0ab07ce07a96f28c95668e7d3af
|
4
|
+
data.tar.gz: 648fa5c352c05af56b308390fbf6773430da6582
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00723c3c298df1d02fc7f9b1d296f91cfaab34da3ab19a3b2a2633ec62e3b1c1bd81e3264b75fa3a3a1c610bcce3f3b0e11ba422de2f2142e36fedf988196c7b
|
7
|
+
data.tar.gz: 92f2a21197993be290060a6b0519c7a670e041a37879a93eb7917ca40c90aa4d446d6343aa7ead5306d833e11e2b42eb923983e60076d1ac3264fe60d7e60d02
|
@@ -0,0 +1 @@
|
|
1
|
+
<h3 class="Polaris-Subheading"><%= title %></h3>
|
@@ -26,6 +26,13 @@ module PolarisViewHelpers
|
|
26
26
|
)
|
27
27
|
end
|
28
28
|
|
29
|
+
def polaris_sub_heading(title)
|
30
|
+
render(
|
31
|
+
partial: 'polaris/sub_heading',
|
32
|
+
locals: { title: title }
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
29
36
|
def polaris_page_content(&block)
|
30
37
|
render(
|
31
38
|
partial: 'polaris/page_content',
|
@@ -308,10 +315,10 @@ module PolarisViewHelpers
|
|
308
315
|
)
|
309
316
|
end
|
310
317
|
|
311
|
-
def polaris_card(heading = nil, &block)
|
318
|
+
def polaris_card(heading = nil, footer: nil, &block)
|
312
319
|
render(
|
313
320
|
partial: 'polaris/card',
|
314
|
-
locals: { block: block, heading: heading }
|
321
|
+
locals: { block: block, heading: heading, footer: footer }
|
315
322
|
)
|
316
323
|
end
|
317
324
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Green
|
@@ -74,6 +74,7 @@ files:
|
|
74
74
|
- app/views/polaris/_page_header.html.erb
|
75
75
|
- app/views/polaris/_resource_list.html.erb
|
76
76
|
- app/views/polaris/_resource_list_item.html.erb
|
77
|
+
- app/views/polaris/_sub_heading.html.erb
|
77
78
|
- app/views/polaris/_tab.html.erb
|
78
79
|
- app/views/polaris/_tabs.html.erb
|
79
80
|
- app/views/polaris/_text_field.html.erb
|