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

10 lines
300 B
Plaintext
Raw Normal View History

2020-03-28 00:35:24 +08:00
<span class="start-date-label">
<% if my_module.started_on.present? %>
<strong><%= l(my_module.started_on, format: :full) %></strong>
<% elsif start_date_editable %>
<span class="empty-label">
<%= t('my_modules.details.no_start_date_placeholder') %>
</span>
2020-03-28 00:35:24 +08:00
<% end %>
</span>