Skip to content

Commit

Permalink
Change cancel to delete
Browse files Browse the repository at this point in the history
  • Loading branch information
DanBrooker committed Oct 28, 2015
1 parent 044004f commit 0344faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/spina/admin/inquiries/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
- if @inquiry.spam
= link_to t('spina.inquiries.no_spam'), spina.unmark_spam_admin_inquiry_path(@inquiry), method: :patch, class: 'button', data: {icon: 'v'}

= link_to t('spina.cancel'), spina.admin_inquiry_path(@inquiry), method: :delete, class: 'button button-danger button-link', data: {confirm: t('spina.inquiries.delete_confirmation', subject: @inquiry.name)}
= link_to t('spina.delete'), spina.admin_inquiry_path(@inquiry), method: :delete, class: 'button button-danger button-link', data: {confirm: t('spina.inquiries.delete_confirmation', subject: @inquiry.name)}

0 comments on commit 0344faa

Please sign in to comment.