Using the `_html` suffix automatically marks texts as HTML safe, so doing so on sanitized texts is redundant. Note flash texts are not sanitized the moment they are generated, but are sanitized when displayed in the view.
26 lines
850 B
Plaintext
26 lines
850 B
Plaintext
<div class="row section-content">
|
|
<div class="small-12 column">
|
|
<h3 id="debates" data-magellan-target="debates">
|
|
<%= t("pages.help.debates.title") %>
|
|
</h3>
|
|
<p>
|
|
<%= sanitize(t("pages.help.debates.description",
|
|
org: setting["org_name"],
|
|
link: link_to(t("pages.help.debates.link"),
|
|
debates_path))) %>
|
|
</p>
|
|
<ul class="features">
|
|
<li>
|
|
<%= sanitize(t("pages.help.debates.feature",
|
|
link: link_to(t("pages.help.debates.feature_link", org: setting["org_name"]),
|
|
new_user_registration_path))) %>
|
|
</li>
|
|
</ul>
|
|
|
|
<figure>
|
|
<%= image_tag "help/debates.png", alt: t("pages.help.debates.image_alt") %>
|
|
<figcaption><%= t("pages.help.debates.figcaption") %></figcaption>
|
|
</figure>
|
|
</div>
|
|
</div>
|