_files_file.html.haml revision f4914ac299f7a582642f1a9168a0d1e7e2a3c287
394N/A%h3
394N/A =path
394N/A
394N/A.col-md-9
394N/A - if @file[:size] <= Ontohub::Application.config.max_read_filesize
394N/A %pre= @file[:content].encoding_utf8
394N/A -# = form_for(repository, url: fancy_repository_path(repository, path: @info[:entry][:path], ref: oid), method: :post, html: {class: 'form-horizontal edit-form'}) do |f|
394N/A -# = text_area_tag 'content', @file[:content], class: 'input-xxlarge', id: 'code-area', 'data-mime-type' => get_mime_string(@file[:name], @file[:mime_type])
394N/A - else
394N/A %p
394N/A File too large to display.
394N/A = link_to "Download #{@file[:name]}.", fancy_repository_path(repository, path: path, ref: oid, action: :download)
394N/A
394N/A.col-md-3
394N/A - unless @info[:ontologies].empty?
394N/A %h4
394N/A Defining
394N/A = pluralize @info[:ontologies].size, 'ontology'
394N/A %ul.ontology-list
394N/A - @info[:ontologies].each do |ontology|
1874N/A %li= fancy_link ontology
394N/A