Uses *_html tags instead of calling raw in the view

This commit is contained in:
kikito
2015-08-25 19:22:57 +02:00
parent 82c404092a
commit f47fbe82d5
3 changed files with 10 additions and 10 deletions

View File

@@ -2,10 +2,10 @@
<div class="small-12 medium-8 column small-centered">
<div class="panel">
<h2><%= t("devise_views.organizations.registrations.success.title") %></h2>
<p><%= raw t("devise_views.organizations.registrations.success.thank_you") %></p>
<p><%= raw t("devise_views.organizations.registrations.success.instructions_1") %></p>
<p><%= raw t("devise_views.organizations.registrations.success.instructions_2") %></p>
<p><%= raw t("devise_views.organizations.registrations.success.instructions_3") %></p>
<p><%= t("devise_views.organizations.registrations.success.thank_you") %></p>
<p><%= t("devise_views.organizations.registrations.success.instructions_1_html") %></p>
<p><%= t("devise_views.organizations.registrations.success.instructions_2_html") %></p>
<p><%= t("devise_views.organizations.registrations.success.instructions_3_html") %></p>
<p>
<%= link_to t("devise_views.organizations.registrations.success.back_to_index"),
root_path, class: "button radius small margin-top" %>

View File

@@ -69,9 +69,9 @@ en:
success:
title: "Registration of organization / collective"
thank_you: "Thank you for registering your organization or collective in the website. Now is <b>pending verification</b>."
instructions_1: "We will <b>contact you soon</b> in order to verify that you represent your collective."
instructions_2: "Meanwhile, <b>review your email</b>. We have sent you a <b>confirmation link to activate your account</b>."
instructions_3: "When you confirm your account will then be able to participate as a non-verified organization."
instructions_1_html: "We will <b>contact you soon</b> in order to verify that you represent your collective."
instructions_2_html: "Meanwhile, <b>review your email</b>. We have sent you a <b>confirmation link to activate your account</b>."
instructions_3_html: "When you confirm your account will then be able to participate as a non-verified organization."
back_to_index: "Ok, go back to index"
sessions:
new:

View File

@@ -69,9 +69,9 @@ es:
success:
title: "Registro de organización / colectivo"
thank_you: "Gracias por registrar tu colectivo en la web. Ahora está <b>pendiente de verificación</b>."
instructions_1: "En breve <b>nos pondremos en contacto contigo</b> para verificar que realmente representas a este colectivo."
instructions_2: "Mientras <b>revisa tu correo electrónico</b>, te hemos enviado un <b>enlace para confirmartu cuenta</b>."
instructions_3: "Una vez confirmado, podrás empezar a participar como colectivo no verificado."
instructions_1_html: "En breve <b>nos pondremos en contacto contigo</b> para verificar que realmente representas a este colectivo."
instructions_2_html: "Mientras <b>revisa tu correo electrónico</b>, te hemos enviado un <b>enlace para confirmar tu cuenta</b>."
instructions_3_html: "Una vez confirmado, podrás empezar a participar como colectivo no verificado."
back_to_index: "Entendido, volver a la página principal"
sessions:
new: