Mercurial > zeropaste
comparison app/views/pastes/_form.html.erb @ 306:5ca896a5ddef
Use button instead of (input) submit.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 19 Feb 2014 19:52:30 +0900 |
parents | dff632a63ada |
children | 2ad092e60975 |
comparison
equal
deleted
inserted
replaced
305:4f7fb63f0537 | 306:5ca896a5ddef |
---|---|
14 <%= f.label :is_private do %> | 14 <%= f.label :is_private do %> |
15 <%= f.check_box :is_private %> | 15 <%= f.check_box :is_private %> |
16 Private | 16 Private |
17 <% end %> | 17 <% end %> |
18 </div> | 18 </div> |
19 <%= f.submit :class => 'btn btn-primary' %> | 19 <%= f.button :class => 'btn btn-primary' %> |
20 <%= link_to 'Clear', root_path, :class => 'btn btn-danger', :id => 'reset_paste' %> | 20 <%= link_to 'Clear', root_path, :class => 'btn btn-danger', :id => 'reset_paste' %> |
21 <% end %> | 21 <% end %> |