Skip to content

Commit

Permalink
take advantage of haml's new way to handle textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
sr committed Mar 28, 2008
1 parent 6ebfaa3 commit bdd49f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-wiki.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def list_item(page)
%h1= title
%form{:method => 'POST', :action => "/e/#{@page}"}
%p
~"<textarea name='body' rows='16' cols='60'>#{@page.raw_body}</textarea>"
%textarea{:name => 'body', :rows => 16, :cols => 60}= @page.raw_body
%p
%input.submit{:type => :submit, :value => 'Save as the newest version'}
or
Expand Down

0 comments on commit bdd49f8

Please sign in to comment.