% if item.has_key?(:local_path) %>
<%= item[:file_name] %>
<%= convert_media_from_string!(<<-HTML)
#{I18n.t("Click here to see the file.")}
HTML
%>
<% else %>
<%= HtmlTextHelper.escape_html(item[:title]) %>
<%= I18n.t(
"File %{filename} could not be included in the ePub document. Please see separate zip file for access.", {
filename: HtmlTextHelper.escape_html(item[:title])
})
%>
<% end %>