scinote-web/app/views/my_modules/_start_date_label.html.erb
2020-12-17 13:26:44 +01:00

9 lines
299 B
Text

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