Sha256: 6206c4af6a226c8af53bf04669ef1ba9ff279460cb0f8223f10f78222f4c38a3

Contents?: true

Size: 1.32 KB

Versions: 16

Compression:

Stored size: 1.32 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('enju_ndl.import_from_ndl_search') %></h1>
<div id="content_list">
  <p id="notice"><%= notice %></p>

<%= form_for :books, :url => ndl_books_path, :html => {:method => 'get'} do -%>
  <p>
    <%= label_tag :search_form_top, t('page.search_term') -%>:
    <%= search_field_tag 'query', h(@query), {:id => 'search_form_top', :class => 'search_form'} -%>
    <%= submit_tag t('page.search') -%>
  </p>
<%- end -%>

<% if @query.present? %>
  <p><%= t('enju_ndl.number_of_search_results', :count => @books.total_count) %></p>

<table class="table table-striped index">
  <tr>
    <th></th>
    <th><%= t('activerecord.attributes.manifestation.original_title') %></th>
  </tr>
  <% @books.each do |book| %>
    <tr class="line<%= cycle("0", "1") -%>">
      <td>
        <%= link_to_import_from_ndl(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("$(function(){$('#search_form_top').focus()})") %>
<% end %>

</div>
</div>

<div id="submenu" class="ui-corner-all">
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
enju_ndl-0.1.0.pre24 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre23 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre22 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre21 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre20 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre19 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre18 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre17 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre16 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre15 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre14 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre13 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre12 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre11 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre10 app/views/ndl_books/index.html.erb
enju_ndl-0.1.0.pre9 app/views/ndl_books/index.html.erb