bootstrap_concerns 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bootstrap_concerns/components_helper.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eba316ec7821a0be570f7580079a733e343eb0ff2bf880e101f9abea603c1a22
|
|
4
|
+
data.tar.gz: 5c47a67439fdf140a451f2a686d47c20e5a6deb05694ffeda83590b2e40c6095
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c09a27b8201ae76fb750a417d4288986d7dc1bebaf66ccee7c9a883e046ab0400dcd51435d7b5a69ef7efb48bdeda7e2a37ece0673b1211111f66ab9f3cd82a0
|
|
7
|
+
data.tar.gz: dafc2018895d6ac6ed884a95f5c2e4010153600be6a9af8754866191e18952b89ade5042da65020d0725ca7dab10a0fb80ee66236516102bb196b2ec36bc773f
|
|
@@ -152,9 +152,9 @@ module BootstrapConcerns
|
|
|
152
152
|
icon("input-cursor-text", "Rename")
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
-
def bs_table(&)
|
|
156
|
-
content_tag :div, class: "table-responsive" do
|
|
157
|
-
content_tag(:table, class: "table table-striped table-sm align-middle", &)
|
|
155
|
+
def bs_table(table_class: nil, wrapper_class: nil, &)
|
|
156
|
+
content_tag :div, class: ["table-responsive", wrapper_class].compact do
|
|
157
|
+
content_tag(:table, class: ["table table-striped table-sm align-middle", table_class].compact, &)
|
|
158
158
|
end
|
|
159
159
|
end
|
|
160
160
|
|