<%= l(@my_module.created_at, format: :full) %>
<% if can_manage_module?(@my_module) %> <%= link_to due_date_my_module_path(@my_module, format: :json), remote: true, class: "due-date-link", style: "color: inherit" do %> <% end %> <% else %> <% end %>
<% if can_manage_module?(@my_module) %> <%= link_to due_date_my_module_path(@my_module, format: :json), remote: true, class: "due-date-link", style: "color: inherit" do %> <%= render partial: "module_header_due_date_label.html.erb", locals: { my_module: @my_module } %> <% end %> <% else %> <%= render partial: "module_header_due_date_label.html.erb", locals: { my_module: @my_module } %> <% end %>
<%= render partial: "module_state_label.html.erb", locals: { my_module: @my_module } %>
<%= render partial: "my_modules/state_buttons.html.erb" %>
<%= render partial: "my_modules/tags", locals: { my_module: @my_module, editable: can_manage_module?(@my_module) } %>
<%= t('my_modules.module_header.description_label') %>
<% if can_manage_module?(@my_module) %> <%= render partial: "description_form" %> <% elsif @my_module.description.present? %> <%= custom_auto_link(@my_module.description, simple_format: false, tags: %w(img), team: current_team) %> <% else %> <%= t('my_modules.module_header.no_description') %> <% 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 } %>