Render descriptions as Markdown
This commit is contained in:
parent
5fa73da51a
commit
481a643748
10 changed files with 42 additions and 12 deletions
|
|
@ -18,11 +18,11 @@ opening it.") %></p>
|
|||
|
||||
<h2><%= @vote.title %></h2>
|
||||
|
||||
<p><%= @vote.description %></p>
|
||||
<%= markdown(@vote.description) %>
|
||||
|
||||
<h2><%= _("Candidates") %></h2>
|
||||
|
||||
<% @vote.candidates.each do |candidate| %>
|
||||
<h3><%= candidate.name %></h3>
|
||||
<p><%= candidate.description %></p>
|
||||
<%= markdown(candidate.description) %>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue