Files
grecia/app/views/verification/letter/show.html.erb
Javi Martín 6b1864fbcd Sanitize translations instead of using _html
Using the `_html` suffix in an i18n key is the same as using `html_safe`
on it, which means that translation could potentially be used for XSS
attacks.
2019-10-09 19:46:47 +02:00

16 lines
480 B
Plaintext

<div class="row">
<% track_event(category: "verification", action: "start_letter") %>
<div class="small-12 column">
<%= back_link_to account_path, t("verification.back") %>
<h1><%= t("verification.letter.edit.title") %></h1>
<div data-alert class="callout success">
<%= sanitize(t("verification.letter.create.flash.success")) %>
</div>
<%= link_to t("verification.letter.edit.see_all"), proposals_path, class: "button warning" %>
</div>
</div>