Sha256: 852a01fb345320da003e272f2b817d02350480170c718d7b3d6492ba8672ff9a

Contents?: true

Size: 835 Bytes

Versions: 5

Compression:

Stored size: 835 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

          To #{ctx.to_email}: #{ctx.subject}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ish_manager-0.1.8.327 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.326 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.325 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.324 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.323 app/views/ish_manager/email_contexts/index.haml