fixed #997 by turning cancel link into a reset button

This commit is contained in:
MrZYX 2011-04-06 13:31:56 +02:00
parent 9454c3a1b9
commit 21b5f7932f
2 changed files with 2 additions and 2 deletions

View file

@ -34,4 +34,4 @@
= message.text_area :text, :rows => 5 = message.text_area :text, :rows => 5
.right .right
= message.submit t('.reply').capitalize, :class => 'button' = message.submit t('.reply').capitalize, :class => 'button'
= link_to t('cancel'), '#' = message.submit t('cancel'), :name => "reset", :id => "reset_button", :type => "reset", :class => "button"

View file

@ -755,7 +755,7 @@ a.paginate, #infscr-loading
h5 h5
:color #ccc :color #ccc
input:not([type='submit']), input:not([type='submit']):not([type='reset']),
textarea textarea
@include border-radius(3px) @include border-radius(3px)