lib/gitdocs/views/dir.haml in gitdocs-0.4.13 vs lib/gitdocs/views/dir.haml in gitdocs-0.4.14

- old
+ new

@@ -1,13 +1,9 @@ - @title = root = partial("header", :locals => { :parent => parent, :file => false, :idx => idx }) -- if rendered_readme - .contents - = preserve rendered_readme - - if contents && contents.any? %table#fileListing.condensed-table.zebra-striped %thead %tr %th File @@ -38,5 +34,9 @@ .span6 %form.add %p Add new file in this directory %input{:type => 'text', :name => "path", :class => "edit", :placeholder => "somefile.md" } %input{:type => 'submit', :value => "New file", :class => "btn secondary" } + +- if rendered_readme + .contents + = preserve rendered_readme \ No newline at end of file