Sha256: 6fedc52e5833a1f5ca1f241482774116f20fc469316b7bab39c9f1e39bd19089

Contents?: true

Size: 1.12 KB

Versions: 9

Compression:

Stored size: 1.12 KB

Contents

.email-filters-index.padded
  .header
    %h2.title
      Email Filters (#{@email_filters.length})
      = link_to '[+]', new_email_filter_path


  .maxwidth
    %hr
    %h5.title.collapse-expand#newEmailFilter New Email Filter
    = render 'form', email_filter: @email_filter
  %hr

  %table.bordered.data-table
    %thead
      %tr
        %th  
        %th  
        %th From Regex
        %th From Exact
        %th Subject Regex
        %th Subject Exact
        %th Body Exact
        %th Kind
        %th Email Action
        %th Email Template
        %th Email Tag
    - @email_filters.each do |ef|

      %tr
        %td= check_box_tag 'checked'
        %td
          = link_to '[~]', edit_email_filter_path(ef)
          .inline-block= button_to '[x]', email_filter_path(ef), method: :delete, data: { confirm: 'Are you sure?' }
        %td
          `#{ef.from_regex}`
        %td
          `#{ef.from_exact}`
        %td= ef.subject_regex
        %td= ef.subject_exact
        %td= ef.body_exact
        %td= ef.kind
        %td= ef.email_action&.slug
        %td= ef.email_template&.slug
        %td= ef.category&.name


Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
wco_email-0.1.1.5 app/views/wco_email/email_filters/index.haml
wco_email-0.1.1.4 app/views/wco_email/email_filters/index.haml
wco_email-0.1.1.3 app/views/wco_email/email_filters/index.haml
wco_email-0.1.1.2 app/views/wco_email/email_filters/index.haml
wco_email-0.1.1.1 app/views/wco_email/email_filters/index.haml
ish_manager-0.1.8.513 app/views/ish_manager/email_filters/index.haml
ish_manager-0.1.8.512 app/views/ish_manager/email_filters/index.haml
ish_manager-0.1.8.511 app/views/ish_manager/email_filters/index.haml
ish_manager-0.1.8.510 app/views/ish_manager/email_filters/index.haml