"><%= HtmlTextHelper.escape_html(item[:title]) %>

<%= convert_placeholder_paths_from_string!(item[:description]) %>

<% if item_details_present?(item) %>

<%= item[:due_at].present? ? I18n.t("Due at: %{time}",{time: friendly_date(item[:due_at])}) : nil%>

<%= item[:unlock_at].present? ? I18n.t("Unlock at: %{time}",{time: friendly_date(item[:unlock_at])}) : nil %>

<%= item[:lock_at].present? ? I18n.t("Lock at: %{time}",{time: friendly_date(item[:lock_at])}) : nil %>

<%= item[:grading_type] ? I18n.t("Grading Type: %{type}",{type: item[:grading_type]}) : nil %>

<%= item[:points_possible] ? I18n.t("Points: %{points}",{points: item[:points_possible]}) : nil %>

<% if item[:submission_types].try(:any?) %>

<%= I18n.t("Submitting: %{types}", { types: item[:submission_types].join(', ') }) %>

<% end %>
<% end %>