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

8 lines
281 B
Text
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 %>
<%= auto_link(simple_format(@my_module.description),
link: :urls,
html: { target: '_blank' }) %>
<% end %>