mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 15:56:03 +01:00
24 lines
No EOL
821 B
Text
24 lines
No EOL
821 B
Text
.card
|
|
.card-body
|
|
%h2= t(".heading")
|
|
%p= t(".body")
|
|
%p= t(".note")
|
|
.js-rules-list
|
|
- @rules.each do |rule|
|
|
.form-group
|
|
.input-group
|
|
%input.form-control{ disabled: true, value: rule.muted_phrase }
|
|
.input-group-append
|
|
%button.btn.btn-danger{ type: "button", data: { id: rule.id } }= t(".actions.remove")
|
|
.form-group
|
|
%form
|
|
.input-group
|
|
%input.form-control#new-rule-text{ placeholder: t(".placeholder") }
|
|
.input-group-append
|
|
%button.btn.btn-primary#new-rule-submit{ type: "submit" }= t(".actions.add")
|
|
%template#rule-template
|
|
.form-group
|
|
.input-group
|
|
%input.form-control{ disabled: true }
|
|
.input-group-append
|
|
%button.btn.btn-danger{ type: "button" }= t(".actions.remove") |