Sha256: 05ee504b75ea2f08260f43e1f12dca27ea1af7f8e955479ce8c2f399b597f9ee
Contents?: true
Size: 584 Bytes
Versions: 2
Compression:
Stored size: 584 Bytes
Contents
h1 #{t 'rep.list_title'} - previews_group = proc do |m| - capture do h2= m.underscore.sub(/(_mailer)?_preview$/, '').humanize ul.list-group - email_methods(m).each do |method| li.list-group-item a href=rails_email_preview.rep_email_url(mail_class: m.to_s.underscore, mail_action: method.to_s, email_locale: @email_locale) = method.to_s.humanize .row - split_in_halves(@preview_class_names) { |c| email_methods(c).length } .each do |classes| .col-sm-6 - classes.each do |class_name| = previews_group.call(class_name)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_email_preview-0.2.4 | app/views/rails_email_preview/emails/index.html.slim |
rails_email_preview-0.2.3 | app/views/rails_email_preview/emails/index.html.slim |