Sha256: 2d28f7b678cd4f0dda51e74a08cb5bdc00452f7af0a89ad22327e891a6e7d4a3
Contents?: true
Size: 1.13 KB
Versions: 6
Compression:
Stored size: 1.13 KB
Contents
<% list = @list previews = @previews %> <div class="rep--main-container"> <h1><%= t '.list_title' %></h1> <%= with_index_hook :list do %> <div class="<%= rep_style[:row_class] %>"> <% list.columns do |groups| %> <div class="rep--email-list-half"> <% groups.each do |title, group_previews| %> <h2><%= title %></h2> <div class="<%= rep_style[:list_group_class] %>"> <% group_previews.each do |p| %> <a class="<%= rep_style[:list_group_item_class] %>" href="<%= rails_email_preview.rep_email_path(preview_id: p.id, email_locale: @email_locale) %>"> <%= p.humanized_method_name %> </a> <% end %> </div> <% end %> </div> <% end %> </div> <% end %> <hr/> <p class="rep--footer"> <%= t 'rep.base.email', count: previews.length %> <%= t 'rep.base.in' %> <%= t 'rep.base.mailer', count: list.groups.length %> <br/> <a href="https://github.com/glebm/rails_email_preview" target="_blank"> REP <%= RailsEmailPreview::VERSION %> </a> </p> </div>
Version data entries
6 entries across 6 versions & 1 rubygems