<%=t "my_modules.module_header.start_date" %>
<%= l(@my_module.created_at, format: :full) %>
<%= render partial: "module_state_label.html.erb",
locals: { my_module: @my_module } %>
<% if can_manage_module?(@my_module) %>
<%= link_to description_my_module_path(@my_module, format: :json), remote: true, class: "description-link", style: "color: inherit" do %>
<% end %>
<% else %>
<% end %>
<% if can_manage_module?(@my_module) %>
<%= link_to description_my_module_path(@my_module, format: :json), remote: true, class: "description-label description-link description-refresh", style: "color: inherit" do %>
<% if @my_module.description.present? and not @my_module.description.empty? %>
<%= @my_module.description %>
<% else %>
<%=t "my_modules.module_header.no_description" %>
<% end %>
<% end %>
<% else %>
<% if @my_module.description.present? and not @my_module.description.empty? %>
<%= @my_module.description %>
<% else %>
<%=t "my_modules.module_header.no_description" %>
<% end %>
<% end %>
<%= render partial: "my_modules/modals/manage_description_modal" %>
<%= render partial: "my_modules/modals/manage_due_date_modal" %>
<%= render partial: "my_modules/modals/manage_module_tags_modal", locals: { my_module: @my_module } %>