Sha256: 2f382f093b0bb26bbd06ec201ca3b0a55456c3a3298ca2b7a5a08a60b62c7ae7

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 Bytes

Contents

<% cache [base_cache_key, taxon, 'header'] do %>
  <div class="py-md-3 text-uppercase taxon-title">
    <%= @taxon.name %>
  </div>
  <% unless @taxon.description.blank? %>
    <div class="py-3 py-md-0 taxon-description"><%= @taxon.description %></div>
  <% end %>
  <% if @taxon.icon&.attachment %>
    <div class="d-none d-md-block pt-4 taxon-icon">
      <%= lazy_image(
        src: main_app.url_for(@taxon.icon.attachment),
        alt: @taxon.description || Harpiya.t('taxon_missing_alt'),
        width: 1110,
        height: 300,
        class: 'w-100'
      ) %>
    </div>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
harpiya_frontend-4.3.0.alpha app/views/harpiya/taxons/_header.html.erb