%= style %>
<%= HtmlTextHelper.escape_html(item[:title]) %>
<% end %><%= I18n.t(<<~TEXT, datetime: friendly_date(Time.at(content[:unlock_at]).to_s)) This module is locked until %{datetime} TEXT %>
<% end %> <% if content[:prerequisites].present? %><%= I18n.t(<<~TEXT, prerequisites: display_prerequisites(content[:prerequisites])) This module is locked until completing all of the requirements for the following modules: %{prerequisites} TEXT %>
<% end %> <% else %> <% content[:items].each do |item| %> <%= build(item) || content_tag(:div, I18n.t("%{item_name} is not currently supported", { item_name: HtmlTextHelper.escape_html(item[:title]) })) %>"> <%= I18n.t("Back to %{title}", title: HtmlTextHelper.escape_html(title)) %>
<% end %> <% end %>