14 lines
365 B
Plaintext
14 lines
365 B
Plaintext
%h3= t("layout.projects.files_in_project")
|
|
.files
|
|
.l= render 'whereami'
|
|
= render 'fork'
|
|
.both
|
|
|
|
.file
|
|
.top= render 'top'
|
|
.data= render "render_as_#{@blob.render_as}"
|
|
|
|
:javascript
|
|
$(document).ready(function() {
|
|
CodeMirror.runMode($('#code').text().replace(/&/gi, '&'), "#{@blob.raw_mime_type.content_type}", document.getElementById("output"));
|
|
}); |