app/views/effective/cpd_audits/submit.html.haml in effective_cpd-1.2.1 vs app/views/effective/cpd_audits/submit.html.haml in effective_cpd-1.2.2
- old
+ new
@@ -11,8 +11,8 @@
= effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
= f.hidden_field :current_step
- if EffectiveResources.authorized?(self, :resubmit, resource)
- = f.submit 'Resubmit Audit', center: true
+ = f.submit 'Resubmit Audit', center: true, 'data-confirm': "Really Resubmit Audit?"
- else
- = f.submit 'Submit Audit', center: true
+ = f.submit 'Submit Audit', center: true, 'data-confirm': "Really Submit Audit?"