Sha256: 99a57c0ad660615b87c2718d52f3347ee54f26314b01335f580a5680dc7f082d

Contents?: true

Size: 917 Bytes

Versions: 1

Compression:

Stored size: 917 Bytes

Contents

.email-contexts-index

  .collapse-expand#emailContextsIndex
    %h2.header
      Paginated Email Contexts (aka emails)
      = link_to '+', new_email_context_path
      = link_to 'to-send', notsent_email_contexts_path

  .W0
    = render 'paginate', resource: @email_ctxs, param_name: :email_contexts_page, views_prefix: :ish_manager

    %ul.main
      - @email_ctxs.each do |ctx|
        %li
          - if ctx.sent_at
            \----
          - else
            = link_to '~', edit_email_context_path(ctx)
          = link_to email_context_path(ctx) do
            view
          = button_to '[x]', email_context_path(ctx), method: :delete, form_class: :inline, data: { confirm: 'Are you sure?' }
          -# = link_to 'iframe', email_context_iframe_path(ctx), target: :_blank do

          [ <b>tmpl:</b> #{ctx.email_template.slug} ]
          [ <b>To:</b> #{ctx.to_email} ]
          <u>#{ctx.subject}</u>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_manager-0.1.8.328 app/views/ish_manager/email_contexts/index.haml