Mercurial > zeropaste
diff app/views/pastes/_form.html.erb @ 39:a930c717654c
Add Clear button to the form.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Thu, 04 Oct 2012 02:08:11 +0700 |
parents | e09a3be8dd14 |
children | 8ef70e8c239d |
line wrap: on
line diff
--- a/app/views/pastes/_form.html.erb Thu Oct 04 01:57:13 2012 +0700 +++ b/app/views/pastes/_form.html.erb Thu Oct 04 02:08:11 2012 +0700 @@ -16,5 +16,6 @@ </div> <div class="form-actions"> <%= f.submit :class => 'btn btn-primary' %> + <%= link_to 'Clear', root_path, :class => 'btn', :id => 'reset_paste' %> </div> <% end %>