Sha256: 5034621661b2e20bd8d204a0df9f546feff4bac7cf8f30c0c9d15e937103c1ad

Contents?: true

Size: 568 Bytes

Versions: 1

Compression:

Stored size: 568 Bytes

Contents

h1 #{t 'rep.list_title'}

- previews_group = proc do |m|
  - capture do
    h2 = preview_class_human_name(m)
    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.col-lg-6
      - classes.each do |class_name|
        = previews_group.call(class_name)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_email_preview-0.2.5 app/views/rails_email_preview/emails/index.html.slim