Fix haml-lint UnnecessaryStringOutput for views (#27531)
This commit is contained in:
parent
c85e0a6b04
commit
c926f5fd67
17 changed files with 22 additions and 42 deletions
|
|
@ -11,7 +11,7 @@
|
|||
- percent = total_votes_count.positive? ? 100 * option.votes_count / total_votes_count : 0
|
||||
%label.poll__option><
|
||||
%span.poll__number><
|
||||
= "#{percent.round}%"
|
||||
#{percent.round}%
|
||||
%span.poll__option__text
|
||||
= prerender_custom_emojis(h(option.title), status.emojis)
|
||||
- if own_votes.include?(index)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue