<%= EscapeUtils.escape_html t.send(@type_file).capitalize %>

<% file_params = (!@new_record ? "?file=#{@file}" : "") %>
<% if !@new_record %>
<%= EscapeUtils.escape_html t.help_path %>
<% end %>
<%= EscapeUtils.escape_html t.help_tags.capitalize %>
<% if @type_file == 'drafts' %>
<% end %> <% selected_layout = @headers.delete('layout') %> <% selected_layout = @hyde_parameters['default_layout'] if selected_layout.nil? || selected_layout.empty? %> <% if @hyde_parameters['display_layout'].to_s == 'true' %>
<% else %> <% end %> <% selected_format = File.extname(@file) %> <% selected_format = ".#{@hyde_parameters['default_format']}" if selected_format.empty? %> <% if @hyde_parameters['display_format'].to_s == 'true' %>
<% else %> <% end %> <% @headers.each do |k,v| %>
<% end %> <%= EscapeUtils.escape_html t.add_header.capitalize %>
<% path = File.join(Pathname.new(Mid.gem_source_path), 'admin_views', 'editor_html.erb') %> <%= ERB.new(File.read(path)).result(binding) %>