app/views/patrons/show.html.erb in enju_biblio-0.0.2 vs app/views/patrons/show.html.erb in enju_biblio-0.0.3
- old
+ new
@@ -191,10 +191,10 @@
<li><%= link_to t('page.edit'), edit_patron_path(@patron) -%></li>
<li><%= link_to t('patron.add_derivation'), patron_patrons_path(@patron, :mode => 'add') -%></li>
<%- end -%>
<%- if can? :destroy, @patron -%>
<li><%= link_to t('page.new', :model => t('activerecord.models.patron')), new_patron_path -%></li>
- <li><%= link_to t('page.destroy'), @patron, :confirm => t('page.are_you_sure'), :method => :delete -%></li>
+ <li><%= link_to t('page.destroy'), @patron, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
<%- end -%>
</ul>
<ul>
<li><%= link_to t('page.listing', :model => t('activerecord.models.work')), creator_manifestations_path(@patron) -%></li>
<li><%= link_to t('page.listing', :model => t('activerecord.models.expression')), contributor_manifestations_path(@patron) -%></li>