about summary refs log tree commit diff
path: root/app/views/filters/index.html.haml
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-01-10 14:19:04 -0600
committermultiple creatures <dev@multiple-creature.party>2020-01-10 14:19:04 -0600
commit13b4d7953adfa8455f800a56124c7d6ecafa41ca (patch)
tree76fa5d86a2e646c09b08637625cc31aaa2f694b0 /app/views/filters/index.html.haml
parente13202c114eeb7584e776a073a41d9e57ae31e02 (diff)
add ability to toggle individual filters without deleting them
Diffstat (limited to 'app/views/filters/index.html.haml')
-rw-r--r--app/views/filters/index.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/filters/index.html.haml b/app/views/filters/index.html.haml
index 228474f01..44fed886d 100644
--- a/app/views/filters/index.html.haml
+++ b/app/views/filters/index.html.haml
@@ -6,11 +6,13 @@
     %thead
       %tr
         %th= t('simple_form.labels.defaults.phrase')
+        %th= t('simple_form.labels.defaults.is_enabled')
         %th
     %tbody
       - @filters.each do |filter|
         %tr
           %td= filter.phrase
+          %td= (filter.is_enabled ? "\u2705"  : "\u274c")
           %td
             = table_link_to 'pencil', t('filters.edit.title'), edit_filter_path(filter)
             = table_link_to 'times', t('filters.index.delete'), filter_path(filter), method: :delete