mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
13 lines
317 B
Text
13 lines
317 B
Text
|
<% if @description[:body] %>
|
||
|
<p> <%= strip_tags @description[:body] %> </p>
|
||
|
<% end %>
|
||
|
<% if @description[:image] %>
|
||
|
<br/>
|
||
|
<img src='<%= @description[:image] %>' />
|
||
|
<% end %>
|
||
|
|
||
|
<% @description[:extra_content]&.each do |i| %>
|
||
|
<b><%= strip_tags i[:title] %>:</b> <br/>
|
||
|
<%= strip_tags i[:body] %><br/>
|
||
|
<% end %>
|