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