Sha256: a5ca617ebda7d27dd2ddbe780d0bec03434b185cfafbb9ebc162b6fe811af551

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

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

  -# %input#dataTableSearch
  %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

4 entries across 4 versions & 1 rubygems

Version Path
ish_manager-0.1.8.509 app/views/ish_manager/email_filters/index.haml
ish_manager-0.1.8.508 app/views/ish_manager/email_filters/index.haml
ish_manager-0.1.8.507 app/views/ish_manager/email_filters/index.haml
ish_manager-0.1.8.506 app/views/ish_manager/email_filters/index.haml