1 <% if @error_documents and ! @error_documents.empty? -%>
2 <%- [@error_documents].flatten.compact.each do |error_document| -%>
3 <%- if error_document["error_code"] != '' and error_document["document"] != '' -%>
4 ErrorDocument <%= error_document["error_code"] %> <%= error_document["document"] %>