enju_nii 0.1.0.pre13 → 0.1.0.pre14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a79d352d39fdd1270075fe77523d195fc8e4769
4
- data.tar.gz: 22d574d69365941761b9b8213ddcede10f4508be
3
+ metadata.gz: 6556a6aa1f1970cc511472985268b900c20cdf62
4
+ data.tar.gz: 87946ad0a4e1b6661146790fc649091c7caabbc5
5
5
  SHA512:
6
- metadata.gz: e51d4049eabbec06056c8f749ace69da4bb4be7bd87e4f347914fadcae57d8c20f68d938811ec8a0eee699e562bb30f71425103f5f45fcdb237cb93f9c17191c
7
- data.tar.gz: e193170ee36840148acc4d567f73fd86475bde9c4f67e789e604f6c0e1b1c987c800ceae4821ba6d186361578c2aad03ddf34529098c0e9d1f9688e269a2ad09
6
+ metadata.gz: 4942c3a46d0312032db392f3fc70b32579a0e33b0c06abb13e5fa16ee9d4a81cbd3b5ee8e9edba4fd1df3ebf51b850cd3102dba2c36504426956f250e3749983
7
+ data.tar.gz: ddd9d78ebc385f5093467d26c3826a252c604ec94edbead981fa0cc87b37e8ded389f2d01eddbd848887c19da1c1e805992ae7c96a1d8cd7c7c5ff303f10d841
@@ -9,7 +9,7 @@ module CiniiBooksHelper
9
9
  manifestation = Identifier.where(:body => ncid, :identifier_type_id => identifier_type.id).first.try(:manifestation)
10
10
  end
11
11
  unless manifestation
12
- link_to t('enju_nii.add'), cinii_books_path(:book => {:ncid => ncid}), :method => :post
12
+ button_to t('enju_nii.add'), cinii_books_path(book: {ncid: ncid}), method: :post, data: {disable_with: t('page.saving')}
13
13
  else
14
14
  link_to t('enju_nii.already_exists'), manifestation
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module EnjuNii
2
- VERSION = "0.1.0.pre13"
2
+ VERSION = "0.1.0.pre14"
3
3
  end