Sha256: c22474bf7ead6da17d92f748ae8d345a003ebc699821831fe1cee6f0cb6c3c22

Contents?: true

Size: 401 Bytes

Versions: 28

Compression:

Stored size: 401 Bytes

Contents

<% url ||= nil %>
<% strategy ||= current_attributes_strategy || :none %>

<% body = link_to_if url.present?, partial.body, url %>

<% case strategy %>
<% when :label %>
  <div>
    <label class="block text-2xs font-semibold py-2 dark:text-white">
      <%= partial.heading %>
    </label>
    <div class="dark:text-slate-400">
      <%= body %>
    </div>
  </div>
<% else %>
  <%= body %>
<% end %>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
bullet_train-themes-light-1.2.27 app/views/themes/light/attributes/_base.html.erb
bullet_train-themes-light-1.2.26 app/views/themes/light/attributes/_base.html.erb
bullet_train-themes-light-1.2.25 app/views/themes/light/attributes/_base.html.erb
bullet_train-themes-light-1.2.24 app/views/themes/light/attributes/_base.html.erb
bullet_train-themes-light-1.2.23 app/views/themes/light/attributes/_base.html.erb
bullet_train-themes-light-1.2.22 app/views/themes/light/attributes/_base.html.erb
bullet_train-themes-light-1.2.21 app/views/themes/light/attributes/_base.html.erb
bullet_train-themes-light-1.2.20 app/views/themes/light/attributes/_base.html.erb