[Groonga-commit] ranguba/epub-searcher at d19b3ac [master] Remove interface to relete books

Back to archive index

KITAITI Makoto null+****@clear*****
Sun May 22 22:44:49 JST 2016


KITAITI Makoto	2016-05-22 22:44:49 +0900 (Sun, 22 May 2016)

  New Revision: d19b3acbd82658ba81365868e08e74a7f1aa5133
  https://github.com/ranguba/epub-searcher/commit/d19b3acbd82658ba81365868e08e74a7f1aa5133

  Message:
    Remove interface to relete books

  Modified files:
    app/stylesheets/groonga.scss
    app/views/_book.haml

  Modified: app/stylesheets/groonga.scss (+0 -9)
===================================================================
--- app/stylesheets/groonga.scss    2016-05-22 22:40:49 +0900 (3e9d104)
+++ app/stylesheets/groonga.scss    2016-05-22 22:44:49 +0900 (a80d3bd)
@@ -47,15 +47,6 @@ form.form_search {
   }
 }
 
-form.form_delete_book {
-  text-align: right;
-
-  input[type="submit"] {
-    @extend .btn;
-    @extend .btn-danger;
-  }
-}
-
 ul.author-drilldowns {
   @extend .list-group;
   @extend .clearfix;

  Modified: app/views/_book.haml (+0 -2)
===================================================================
--- app/views/_book.haml    2016-05-22 22:40:49 +0900 (d7f1349)
+++ app/views/_book.haml    2016-05-22 22:44:49 +0900 (958d42f)
@@ -2,5 +2,3 @@
   %div{:class => 'media-body'}
     %h4{:class => 'media-heading'}== #{book['title']} - #{book['author']}
     = book['file_path']
-    = form_for :books, url_for(:books, :id => book['_id']), :method => 'delete', :class => 'form_delete_book' do |f|
-      = f.submit t('form_delete_book.button')
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index