_files_file_base.html.haml revision ac24fe7991ded663db092bd5480ef9c52c14a86f
%h3
=@info[:entry][:path]
-if @file[:size] <= Ontohub::Application.config.max_read_filesize
%pre=@file[:content]
-# =form_for(@repository, url: fancy_repository_files_path(@repository, @info[:entry][:path], @oid), method: :post, html: {class: 'form-horizontal edit-form'}) do |f|
-# =text_area_tag 'content', @file[:content], class: 'input-xxlarge', id: 'code-area', 'data-mime-type' => get_mime_string(@file[:name], @file[:mime_type])
-else
%p
File too large to display.
=link_to "Download #{@info[:entry][:name]}.", fancy_repository_files_path(@repository, @info[:entry][:path], @oid)