Fixed FR policy translation

This commit is contained in:
Godwin
2017-05-30 19:17:02 -07:00
parent 26adfdcbd5
commit 4115c8996f
15 changed files with 467 additions and 935 deletions
+15 -11
View File
@@ -1,12 +1,16 @@
.policy-agreement
- if @is_policy_page
%h2=_'articles.policy.headings.The_Agreement'
- else
%h3=_'articles.policy.headings.The_Agreement'
%ul
- [:commitment, :respect, :empowerment, :accessible, :peaceful, :spaces, :hearing, :intent, :open_minds, :learning].each do |term|
%li=_"articles.policy.term.#{term.to_s}", :s, 2
%h3=_'articles.policy.headings.Why','Why have a Safer Space Agreement?'
%p=_'articles.policy.paragraphs.Why', :p
%h3=_'articles.policy.headings.How','How is the policy enforced?'
%p=_'articles.policy.paragraphs.How', :p
- if @is_policy_page
%h2=_'articles.policy.headings.The_Agreement'
- else
%h3=_'articles.policy.headings.The_Agreement'
%ul
- policies.each do |term|
%li
- if checkboxes
= check_box_tag(term, 1, false, required: true)
.term=_"articles.policy.term.#{term.to_s}", :s, 2
- unless less_info
%h3=_'articles.policy.headings.Why','Why have a Safer Space Agreement?'
%p=_'articles.policy.paragraphs.Why', :p
%h3=_'articles.policy.headings.How','How is the policy enforced?'
%p=_'articles.policy.paragraphs.How', :p