bullet_train-themes-light 1.12.1 → 1.12.2
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: b6b733a54a6b121df7b7eae840f0364df030311644319d546798f38bf3cb06ee
|
4
|
+
data.tar.gz: f8b29e1b1a4162aeb097ae349e11eeab2cf5f8430ae7f9323c860f6b73cc9cf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab9402c64d645711ea8292189644197eb6378a0923e11512fab292a689bec29cb30d3a9ea3c09f5685e1bcd61cd98adf02a590d7d6532560871d7aadf23ce92f
|
7
|
+
data.tar.gz: f6aa48aabce625a2357f6eab1fce35842aed72becf9f355cefa058030b0636d90f7b3f74916bbd6f3d242111c3325765a9e91a5976276654359d9568830c4691
|
@@ -66,15 +66,17 @@ end
|
|
66
66
|
<div class="<%= 'required' if other_options[:required] %>">
|
67
67
|
|
68
68
|
<% # the label. %>
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<%
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
69
|
+
<% unless other_options[:supress_label] %>
|
70
|
+
<div class="<%= "sr-only" if other_options[:hide_label] == true %>">
|
71
|
+
<% if partial.label? %>
|
72
|
+
<%= partial.label %>
|
73
|
+
<% else %>
|
74
|
+
<% # allow the label to be defined via an inline option or else one of the locale yaml definitions. %>
|
75
|
+
<% label = (other_options[:label].presence || labels.label || legacy_label_for(form, method)) %>
|
76
|
+
<%= form.label method, label&.html_safe, class: 'block', for: options[:id] %>
|
77
|
+
<% end %>
|
78
|
+
</div>
|
79
|
+
<% end %>
|
78
80
|
|
79
81
|
<%# Here, we prioritize yielding the partial's field markup if it already exists. %>
|
80
82
|
<%# `form.send` below calls the original Rails Form helpers, such as %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes-light
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|