Sha256: 7f19a3ef75f54f61a154c4254801ce9a04b195dbe4b6b6be5e0d6c5748a9096b

Contents?: true

Size: 724 Bytes

Versions: 1

Compression:

Stored size: 724 Bytes

Contents

<aside class="sidebar">
  <% @mailers.each do |mailer| %>
    <section class="nav_list">
      <h3 class="nav_title"><%= "#{mailer.name.humanize} (#{mailer.total_emails})" %></h3>
      <ul>
        <% uniq_emails(mailer.emails_list).each do |email| %>
          <li>
            <%= link_to maily_email_path(mailer: mailer.name, email: email.name, version: email.version), class: sidebar_class(mailer, email) do %>
              <%= email.name.humanize %>
              <% if email.has_versions? %>
                <%= "(#{email.versions.count} #{'version'.pluralize(email.versions.count)})" %>
              <% end %>
            <% end %>
          </li>
        <% end %>
      </ul>
    </section>
  <% end %>
</aside>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maily-2.0.0 app/views/maily/shared/_sidebar.html.erb