bootstrap_concerns 0.2.0 → 0.3.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee304a05736e5bb4a09743672499fb8229057216149c43dac1db4b75b4665173
|
4
|
+
data.tar.gz: ed43c1bc9d1193c43590c01215dcc38a3c5d2fd922e302142a92de3ad612ea02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21d98c99f8aee8d247a2a98013600a1aa7ffaf33fdd0cc8ce2225970e755f545a96baea4173dbfe62f21beeb8d397b14c272658c3fe4ba24914afd2f22adaef7
|
7
|
+
data.tar.gz: debea29984c2264ba9239b101b40716cf2f45ec537cd4cf2020bda7424f69a32537a34ebea29ed325261fed2a17eabf3f5e14d49d558c651dc42f0b7f5b74a50
|
@@ -118,7 +118,7 @@ module BootstrapConcerns
|
|
118
118
|
|
119
119
|
def bs_table(&)
|
120
120
|
content_tag :div, class: "table-responsive" do
|
121
|
-
content_tag(:table, class: "table table-striped table-sm", &)
|
121
|
+
content_tag(:table, class: "table table-striped table-sm align-middle", &)
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
@@ -97,6 +97,10 @@ module BootstrapConcerns
|
|
97
97
|
search_field(method, options_with_form_control_class(options))
|
98
98
|
end
|
99
99
|
|
100
|
+
def bs_save_submit(options = {})
|
101
|
+
bs_submit("Save", options)
|
102
|
+
end
|
103
|
+
|
100
104
|
def bs_select(method, choices = nil, options = {}, html_options = {}, &)
|
101
105
|
select(method, choices, options, options_with_form_select_class(options, html_options), &)
|
102
106
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_concerns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Brooks
|
8
8
|
- Robert Keresnyei
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|