Remove <%== usage displaying settings
Using `<%==` is the same as using `raw`. I'm not sure if we meant `sanitize` in this case, or it's just a typo. I'm assuming the latter since we don't use anything similar in any other places.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<% content_for :action_title, t("dashboard.mailing.new.title") %>
|
||||
<div class="row expanded">
|
||||
<div class="small-12 medium-9 column">
|
||||
<%== Setting["proposals.email_description"] %>
|
||||
<%= Setting["proposals.email_description"] %>
|
||||
</div>
|
||||
|
||||
<%= render "mailing_options" %>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<% content_for :action_title, t("dashboard.polls.index.title") %>
|
||||
<div class="row expanded">
|
||||
<div class="small-12 medium-9 column">
|
||||
<%== Setting["proposals.poll_description"] %>
|
||||
<%= Setting["proposals.poll_description"] %>
|
||||
|
||||
<% if @polls.any? %>
|
||||
<div class="row expanded margin-top" data-equalizer="poll-cards" data-equalize-on="medium">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<% content_for :action_title, t("dashboard.poster.new.title") %>
|
||||
<div class="row expanded">
|
||||
<div class="small-12 medium-9 column">
|
||||
<%== Setting["proposals.poster_description"] %>
|
||||
<%= Setting["proposals.poster_description"] %>
|
||||
</div>
|
||||
|
||||
<%= render "poster_options" %>
|
||||
|
||||
Reference in New Issue
Block a user