Render descriptions as Markdown
This commit is contained in:
parent
4593bf2b2a
commit
758b01518a
10 changed files with 42 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<h1><%= @vote.title %> <%= _("(Draft)") %></h1>
|
||||
|
||||
<p><%= @vote.description %></p>
|
||||
<%= markdown(@vote.description) %>
|
||||
|
||||
<h2><%= _("Organizers") %></h2>
|
||||
|
||||
|
|
@ -14,5 +14,5 @@
|
|||
|
||||
<% @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