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

9 lines
279 B
Text

<span class="start-date-label">
<% if my_module.started_on.present? %>
<strong><%= l(my_module.started_on, format: :full) %></strong>
<% else %>
<span class="empty-label">
<%= t('my_modules.details.no_start_date_placeholder') %>
</span>
<% end %>
</span>