Sha256: f82b6fdb200da75fb253d8900b5c61c35022279d22b99db150641c77fbe614c3
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
<div id="content_detail" class="ui-corner-all"> <h1 class="title">NDLサーチ検索によるインポート</h1> <div id="content_list"> <p id="notice"><%= notice %></p> <%= form_for :books, :url => ndl_books_path, :html => {:method => 'get'} do -%> <p> <%= search_field_tag 'query', h(@query), {:id => 'search_form_top', :class => 'search_form'} -%> <%= submit_tag '検索' -%> </p> <%- end -%> <% if @query.present? %> <p><%= @books.total_count %> 件が見つかりました。</p> <table class="table table-striped index"> <tr> <th></th> <th>書名</th> </tr> <% @books.each do |book| %> <tr class="line<%= cycle("0", "1") -%>"> <td> <%= link_to_import(book.jpno) %> </td> <td> <%= link_to "#{book.title} #{book.volume}".strip , book.permalink %> <br /> <%= book.creator %> <%= book.publisher %> (<%= book.issued %>, ISBN: <%= book.isbn %>) </td> </tr> <% end %> </table> <br /> <%= paginate(@books) %> <% else %> <%= javascript_tag("$('#search_form_top').focus()") -%> <% end %> </div> </div> <div id="submenu" class="ui-corner-all"> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_ndl-0.1.0.pre5 | app/views/ndl_books/index.html.erb |
enju_ndl-0.1.0.pre4 | app/views/ndl_books/index.html.erb |