lib/gitdocs/views/dir.haml in gitdocs-0.4.10 vs lib/gitdocs/views/dir.haml in gitdocs-0.4.11
- old
+ new
@@ -27,10 +27,10 @@
.row
.span6
%form.upload{ :method => "post", :enctype => "multipart/form-data", :action => "/#{idx}#{request.path_info}?mode=upload" }
%p Upload file to this directory
- %input{:type => 'file', :value => "Select a file", :name => "file", :class => "uploader" }
+ %input{:type => 'file', :value => "Select a file", :name => "file", :class => "uploader", :size => 12}
%input{:type => 'submit', :value => "Upload file", :class => "btn secondary" }
.span6
%form.add
%p Add new file in this directory
%input{:type => 'text', :name => "path", :class => "edit", :placeholder => "somefile.md" }