lib/gitdocs/views/edit.haml in gitdocs-0.3.6 vs lib/gitdocs/views/edit.haml in gitdocs-0.4.0
- old
+ new
@@ -1,13 +1,13 @@
-%h1= root
+- @title = root
= 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
- %input{ :type => 'submit', :value => "Save" }
- %a{ :href => "/#{idx}#{request.path_info}" } Cancel
+ %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")