lib/gitdocs/views/edit.haml in gitdocs-0.4.13 vs lib/gitdocs/views/edit.haml in gitdocs-0.4.14
- old
+ new
@@ -3,9 +3,11 @@
= partial("header", :locals => { :parent => parent, :file => true, :idx => idx })
%form{ :class => "edit", :action => "/#{idx}#{request.path_info}?mode=save", :method => "post", :style => "display:none;" }
#editor
%textarea{ :id => 'data', :name => "data" }= preserve contents
+ .clearfix
+ %textarea{ :id => 'message', :name => 'message', :class => 'span16', :placeholder => 'Optional commit message.' }
%input{ :type => 'submit', :value => "Save", :class => "btn primary" }
%a{ :href => "/#{idx}#{request.path_info}", :class => "btn secondary" } Cancel
%input{ :type => 'hidden', :class => 'filename', :value => request.path_info }
= partial("ace_scripts")