scinote-web/app/views/my_modules/_description_label.html.erb

7 lines
251 B
Plaintext
Raw Normal View History

2016-02-12 23:52:43 +08:00
<% if @my_module.description.blank? %>
<em><%=t "experiments.canvas.popups.no_description" %></em>
2016-02-12 23:52:43 +08:00
<% else %>
<%= custom_auto_link(simple_format(@my_module.description),
link: :urls, html: { target: '_blank' }) %>
<% end %>