content changes

This commit is contained in:
2015-10-06 09:38:52 +02:00
parent 9bdb99fe3d
commit 60b0a81970
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
module ApplicationHelper module ApplicationHelper
def title(page_title) def title(page_title)
content_for :title, page_title.to_s content_for :title, strip_tags(page_title.to_s)
page_title page_title
end end
end end
+1 -1
View File
@@ -1,4 +1,4 @@
h1 = title t('.title') h1 = title t('.title_html')
= simple_form_for @supporter do |f| = simple_form_for @supporter do |f|
= f.input :first_name = f.input :first_name
= f.input :last_name = f.input :last_name
+1 -1
View File
@@ -10,7 +10,7 @@ de:
supporters: supporters:
form: form:
title: Ja, ich will helfen Cannabis in der Schweiz endlich zu legalisieren title_html: Ja, ich will <strong class="text-success">Cannabis</strong> in der Schweiz <strong>legalisieren</strong>
submit: Unterstützung zusichern submit: Unterstützung zusichern
create: create:
timeout: Ihre Eingabe war zu schnell. timeout: Ihre Eingabe war zu schnell.