2021-12-22 15:03:42 -08:00
|
|
|
.card
|
|
|
|
.card-body
|
|
|
|
%h2 Muted words
|
|
|
|
%p Muting words (or longer phrases) will prevent questions containing those to appear in your inbox.
|
|
|
|
%p Note: Filtered questions are discarded completely from your inbox, and won't reappear if you remove a filter later on.
|
2021-12-22 16:20:47 -08:00
|
|
|
.js-rules-list
|
|
|
|
- @rules.each do |rule|
|
|
|
|
.form-group
|
|
|
|
.input-group
|
2021-12-22 16:32:59 -08:00
|
|
|
%input.form-control{ disabled: true, value: rule.muted_phrase }
|
2021-12-22 16:20:47 -08:00
|
|
|
.input-group-append
|
2021-12-22 16:32:59 -08:00
|
|
|
%button.btn.btn-danger{ type: 'button', data: { id: rule.id } } Remove
|
2021-12-22 15:03:42 -08:00
|
|
|
.form-group
|
|
|
|
%form
|
|
|
|
.input-group
|
2021-12-22 16:32:59 -08:00
|
|
|
%input.form-control#new-rule-text{ placeholder: 'Add a new muted word...' }
|
2021-12-22 15:03:42 -08:00
|
|
|
.input-group-append
|
2021-12-22 16:32:59 -08:00
|
|
|
%button.btn.btn-primary#new-rule-submit{ type: 'submit' } Add
|
2021-12-22 16:20:47 -08:00
|
|
|
%template#rule-template
|
|
|
|
.form-group
|
|
|
|
.input-group
|
2021-12-22 16:32:59 -08:00
|
|
|
%input.form-control{ disabled: true }
|
2021-12-22 16:20:47 -08:00
|
|
|
.input-group-append
|
2021-12-22 16:32:59 -08:00
|
|
|
%button.btn.btn-danger{ type: 'button' } Remove
|