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: 3ee86ffa60c68f57e523ab091fb7ee228fad5add00b4def3050f8287ac95d682
4
- data.tar.gz: 71b22896d85e968bee0eeb7cb727df6a1d49dd01c9faa96b8cdea817458f6337
3
+ metadata.gz: b6b733a54a6b121df7b7eae840f0364df030311644319d546798f38bf3cb06ee
4
+ data.tar.gz: f8b29e1b1a4162aeb097ae349e11eeab2cf5f8430ae7f9323c860f6b73cc9cf8
5
5
  SHA512:
6
- metadata.gz: feef44023a2350fc18ecc7f958c15246ac5d06a44cbc60cc80c952928c8e39ada8b7b65272735e5568c1c85b1138f702bff16cf60a7338e6ba019e013c7177fe
7
- data.tar.gz: e4a555efe4ab6b8793dde78eef76317a82443f36fc6014ae1131c880fbc5787c2735debdb9e41aa5be50216e6f265cb0aa5eb875c2ea8a3067ec664f9ad33da6
6
+ metadata.gz: ab9402c64d645711ea8292189644197eb6378a0923e11512fab292a689bec29cb30d3a9ea3c09f5685e1bcd61cd98adf02a590d7d6532560871d7aadf23ce92f
7
+ data.tar.gz: f6aa48aabce625a2357f6eab1fce35842aed72becf9f355cefa058030b0636d90f7b3f74916bbd6f3d242111c3325765a9e91a5976276654359d9568830c4691
@@ -1,4 +1,3 @@
1
- <%= stylesheet_link_tag "application" %>
2
1
  <%= javascript_include_tag "application" %>
3
2
 
4
3
  <script>
@@ -66,15 +66,17 @@ end
66
66
  <div class="<%= 'required' if other_options[:required] %>">
67
67
 
68
68
  <% # the label. %>
69
- <div class="<%= "sr-only" if other_options[:hide_label] == true %>">
70
- <% if partial.label? %>
71
- <%= partial.label %>
72
- <% else %>
73
- <% # allow the label to be defined via an inline option or else one of the locale yaml definitions. %>
74
- <% label = (other_options[:label].presence || labels.label || legacy_label_for(form, method)) %>
75
- <%= form.label method, label&.html_safe, class: 'block', for: options[:id] %>
76
- <% end %>
77
- </div>
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 %>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.12.1"
4
+ VERSION = "1.12.2"
5
5
  end
6
6
  end
7
7
  end
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.1
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-16 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard