Sha256: 5400c3a6ff4fe45b6e8e558fa93273015824e02e7c8a9d23e3ab5824290ef386
Contents?: true
Size: 368 Bytes
Versions: 19
Compression:
Stored size: 368 Bytes
Contents
# -*- encoding: utf-8 -*- module NdlBooksHelper def link_to_import(nbn) if nbn.blank? t('enju_ndl.not_available') else manifestation = Manifestation.where(:nbn => nbn).first unless manifestation link_to '追加', ndl_books_path(:book => {:nbn => nbn}), :method => :post else '登録済み' end end end end
Version data entries
19 entries across 19 versions & 1 rubygems