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

7 lines
281 B
Text

<% if @my_module.description.blank? %>
<em><%=t "experiments.canvas.popups.no_description" %></em>
<% else %>
<%= auto_link(simple_format(@my_module.description),
link: :urls,
html: { target: '_blank' }) %>
<% end %>