2019-07-08 23:22:29 +08:00
|
|
|
<% if @description[:body].present? %>
|
2019-06-18 23:47:08 +08:00
|
|
|
<p> <%= sanitize(@description[:body], tags: Constants::PROTOCOLS_DESC_TAGS) %> </p>
|
2019-06-17 23:09:31 +08:00
|
|
|
<br/>
|
2019-06-03 18:42:15 +08:00
|
|
|
<% end %>
|
2019-07-08 23:22:29 +08:00
|
|
|
<% if @description[:image].present? %>
|
2019-06-03 18:42:15 +08:00
|
|
|
<br/>
|
|
|
|
<img src='<%= @description[:image] %>' />
|
2019-06-17 23:09:31 +08:00
|
|
|
<br/>
|
2019-06-03 18:42:15 +08:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% @description[:extra_content]&.each do |i| %>
|
2019-06-17 23:09:31 +08:00
|
|
|
<% if i[:body].present? %>
|
|
|
|
<br/><b><%= strip_tags i[:title] %>:</b> <br/>
|
2019-06-18 23:47:08 +08:00
|
|
|
<%= sanitize(i[:body], tags: Constants::PROTOCOLS_DESC_TAGS) %><br/>
|
2019-06-17 23:09:31 +08:00
|
|
|
<% end %>
|
2019-06-03 18:42:15 +08:00
|
|
|
<% end %>
|