statements without redcarpet gem
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
- supporters = Supporter.where('publicity.state' => :approved).desc('publicity.created_at')
|
- supporters = Supporter.where('publicity.state' => :approved).desc('publicity.created_at')
|
||||||
== Redcarpet::Markdown.new(Redcarpet::Render::HTML).render "**test**"
|
|
||||||
h1 = title t('.title')
|
h1 = title t('.title')
|
||||||
- supporters.each do |supporter|
|
- supporters.each do |supporter|
|
||||||
.statement
|
.statement
|
||||||
@@ -8,7 +7,7 @@ h1 = title t('.title')
|
|||||||
- unless supporter.publicity.organisation.blank?
|
- unless supporter.publicity.organisation.blank?
|
||||||
em= ", #{supporter.publicity.organisation}"
|
em= ", #{supporter.publicity.organisation}"
|
||||||
br
|
br
|
||||||
article== Redcarpet::Markdown.new(Redcarpet::Render::HTML).render supporter.publicity.statement
|
article= supporter.publicity.statement
|
||||||
hr.clearfix
|
hr.clearfix
|
||||||
|
|
||||||
.text-center = link_to t(".submit_your_own_statement"), new_publicity_path
|
.text-center = link_to t(".submit_your_own_statement"), new_publicity_path
|
||||||
Reference in New Issue
Block a user