bullet_train-themes-light 1.12.1 → 1.12.3

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: a8677d3420d1d814c4bbd2a7559148a1f5f62ef8010d0df9819b1af455eb8646
4
+ data.tar.gz: 331960643e591d7d2df26c786869ec554822f3df4d3bc955926457bb845dd374
5
5
  SHA512:
6
- metadata.gz: feef44023a2350fc18ecc7f958c15246ac5d06a44cbc60cc80c952928c8e39ada8b7b65272735e5568c1c85b1138f702bff16cf60a7338e6ba019e013c7177fe
7
- data.tar.gz: e4a555efe4ab6b8793dde78eef76317a82443f36fc6014ae1131c880fbc5787c2735debdb9e41aa5be50216e6f265cb0aa5eb875c2ea8a3067ec664f9ad33da6
6
+ metadata.gz: 2a74b96b1d62b5546a962d8bed158c63ef0905afc08c339e23c715237cb5d0ff05f8d2d453bb3564e6c08d0afb1487afcf21928b1871883a7f6848ed4f606b0d
7
+ data.tar.gz: bdba3be83d2d26d72b884b48f2e7569d9472de8177e09fc8b59ac5b3d9784a5d12a83522be95433ab361b23267ffa0334cd0981ae9c19d9b09dcdacbd0ce2325
@@ -1,4 +1,3 @@
1
- <%= stylesheet_link_tag "application" %>
2
1
  <%= javascript_include_tag "application" %>
3
2
 
4
3
  <script>
@@ -49,7 +49,7 @@
49
49
 
50
50
  <% elsif action.is_a?(Actions::SupportsScheduling) && action.scheduled_for && !action.started? %>
51
51
  <div class="uppercase text-xs text-slate-400">
52
- <%= t('action_models.scheduled_for', at: display_date_and_time(action.scheduled_for)) %>
52
+ <%= t('action_models.scheduled_for', for: display_date_and_time(action.scheduled_for)) %>
53
53
  </div>
54
54
 
55
55
  <% elsif action.is_a?(Actions::HasProgress) && action.started? %>
@@ -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.3"
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.3
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-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard